how to swap two integers 1 and 32767 without using third
variable
Answer Posted / pandi
a=1;
b=32767;
a=a+b;
b=a-b;
a=a-b;
| Is This Answer Correct ? | 43 Yes | 7 No |
Post New Answer View All Answers
How are portions of a program disabled in demo versions?
What are the types of pointers in c?
What are logical errors and how does it differ from syntax errors?
can we change the default calling convention in c if yes than how.........?
What are multidimensional arrays?
develop algorithms to add polynomials (i) in one variable
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What are local static variables?
Can you tell me how to check whether a linked list is circular?
How do you initialize pointer variables?
What is difference between static and global variable in c?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
Is Exception handling possible in c language?
How many loops are there in c?
Explain enumerated types in c language?