I was wondering how the C compiler would handle the comparison operator ‘==’
I wish to create a function (in C) that compares two things without using the ==. I think it can be done some how by using bitwise operators ( &, |, ^, >>) however I can’t seem to think of how to do it.
Anyone have ideas?
Thanks!
Here’s a simple way to check if two ints are equal without using
==: