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
Without Computer networks, Computers will be half the use. Comment.
Explain the difference between ++u and u++?
What does p mean in physics?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Explain how do you determine the length of a string value that was stored in a variable?
Which one would you prefer - a macro or a function?
what is the difference between 123 and 0123 in c?
if p is a string contained in a string?
Why does this code crash?
What is time complexity c?
What are the different types of errors?
Explain modulus operator. What are the restrictions of a modulus operator?
What is a structural principle?
What is the maximum no. of arguments that can be given in a command line in C.?
What is the difference between int main and void main in c?