Another solution without using '==' too and I used bitwise operator.
#include<stdio.h>
int findMax( int x, int y)
{
int z = x - y;
int i = (z >> 31) & 0x1;
int max = x - i * z;
return max;
}
int main()
{
int a,b,max;
scanf("%d %d",&a,&b);
max=findMax(a,b);
printf("%d",max);
}