well my problem here was to check for some error by using the bitwise XOR (^) operator on two strings.
so for doing that i need to convert the strings to binary values i used the below method but all in vain
the output i get is '0' simply zero.. i dont understand whatz the problem. please help me out..Code:main(){ char *msg; int a; msg="hi how are you "; a=atoi(msg); printf("%d",a); }