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
Differentiate between the = symbol and == symbol?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
Write a program to print fibonacci series without using recursion?
Why does this code crash?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is linear search?
What is the size of a union variable?
What is the difference between c &c++?
What does d mean?
Combinations of fibanocci prime series
What is a volatile keyword in c?
Compare array data type to pointer data type
Explain what are global variables and explain how do you declare them?
When should we use pointers in a c program?