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 is a example of a variable?
Whats s or c mean?
What are the 4 types of unions?
What is the difference between c and python?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
What is merge sort in c?
What are header files and explain what are its uses in c programming?
What is pass by reference in c?
What is the right way to use errno?
What is meant by high-order and low-order bytes?
What does void main return?
Explain what’s a signal? Explain what do I use signals for?
What are the features of c languages?
What is variable initialization and why is it important?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none