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
write a program to rearrange the array such way that all even elements should come first and next come odd
What is use of #include in c?
What are the advantages of Macro over function?
What is function what are the types of function?
write a program to display all prime numbers
what is event driven software and what is procedural driven software?
In a switch statement, what will happen if a break statement is omitted?
why we wont use '&' sing in aceesing the string using scanf
How many types of sorting are there in c?
Can a function argument have default value?
Explain which function in c can be used to append a string to another string?
What is meant by operator precedence?
What is return type in c?
Is c# a good language?
What is pass by value in c?