how to swap two integers 1 and 32767 without using third
variable
Answer Posted / jonu
a=1;
b=32767;
a=(a+b)-(b=a);
printf("%d %d",a,b);
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Explain what is page thrashing?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
How can I direct output to the printer?
How can you check to see whether a symbol is defined?
What is the deal on sprintf_s return value?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
Do array subscripts always start with zero?
What are file streams?
Which is best linux os?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What does the function toupper() do?
Sir i need notes for structure,functions,pointers in c language can you help me please
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
How do you define CONSTANT in C?