write a program to compare 2 numbers without using logical
operators?
Answer Posted / bashu
main()
{
int x,y;
sf("%d,%d",&x,&y);
if(x^y)
pf("not equal");
else
pf("equal");
}
Is This Answer Correct ? | 39 Yes | 22 No |
Post New Answer View All Answers
What does the characters “r” and “w” mean when writing programs that will make use of files?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What are the 3 types of structures?
Using which language Test cases are added in .ptu file of RTRT unit testing???
Why c is called a middle level language?
How are strings stored in c?
Does * p ++ increment p or what it points to?
Why do we use pointer to pointer in c?
For what purpose null pointer used?
How do you override a defined macro?
Is c dynamically typed?
What are the complete rules for header file searching?
How do I get a null pointer in my programs?
Why use int main instead of void main?
What is 2c dna?