write a program to swap Two numbers without using temp variable.
Answer Posted / nagakishorebabu
a=a+b;
b=a-b;
a=a-b;
printf("a %dand b %dis :",a,b);
Is This Answer Correct ? | 181 Yes | 43 No |
Post New Answer View All Answers
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
How macro execution is faster than function ?
What is wrong with this statement? Myname = 'robin';
Can you please explain the difference between malloc() and calloc() function?
What is c token?
What is the use of f in c?
Why we use stdio h in c?
Why is not a pointer null after calling free?
What does sizeof return c?
Write a program to implement queue.
What are global variables and explain how do you declare them?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
What is the right type to use for boolean values in c? Is there a standard type?
Explain Function Pointer?
What is wrong in this statement? scanf(ā%dā,whatnumber);