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
In a switch statement, what will happen if a break statement is omitted?
Did c have any year 2000 problems?
What is the difference between union and structure in c?
What is the correct declaration of main?
Is there a way to compare two structure variables?
How can I delete a file?
With the help of using classes, write a program to add two numbers.
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is the use of f in c?
Can a local variable be volatile in c?
What is linear search?
Why do we use int main?
What is the use of sizeof () in c?