how to swap two integers 1 and 32767 without using third
variable
Answers were Sorted based on User's Feedback
Answer / susmita dutta chowdhury
b=(a+b)-(a=b);
printf("%d %d ",a,b);
explanation:-
b=(1+32767)-(a=32767)
b=32768-32767
b=1
a=32767
| Is This Answer Correct ? | 0 Yes | 0 No |
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
What is the g value paradox?
What is return in c programming?
pascal triangle program
there is two conditions , 1. while using for loop for printing 1 to 50 no's simulteneous 2. while using printf functios for printing 1 to 50 no's simulteneous with or without using variables who will take more time for compiling and execution? explain in details with reason?
how we can make 3d venturing graphics on outer interface
What is the difference between void main() and int main()?
How are 16- and 32-bit numbers stored?
Is c an object oriented programming language?
What's the best way to declare and define global variables?
Which of these statements are false w.r.t File Functions? i)fputs() ii)fdopen() iii)fgetpos() iv)ferror() A)ii B)i,ii C)iii D)iv
What is #include called?