how to swap two integers 1 and 32767 without using third
variable
Answer Posted / vidhubala-j
int a=1
int b=32767
a^=b^=a
printf("%d %d",a,b);
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Explain what is the purpose of "extern" keyword in a function declaration?
Explain what is a pragma?
What is actual argument?
What is difference between function overloading and operator overloading?
explain what is fifo?
What is identifier in c?
Explain what will the preprocessor do for a program?
Is it possible to execute code even after the program exits the main() function?
What are the storage classes in C?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Do you know the purpose of 'register' keyword?
i have a written test for microland please give me test pattern
What is string constants?
Explain what are multidimensional arrays?
What is the best way of making my program efficient?