How to write the code of the program to swap two numbers
with in one statement?
Answer Posted / manoj kumar shukla
main()
{
int a=4,b=3;
a=a+b-(b=a);
printf("%d",a);
printf("%d",b);
}
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What happens if you free a pointer twice?
What is the purpose of clrscr () printf () and getch ()?
Explain how can I manipulate strings of multibyte characters?
What is integer constants?
What are identifiers in c?
What are the usage of pointer in c?
What are linked lists in c?
write a c program to find the sum of five entered numbers using an array named number
Is using exit() the same as using return?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
What is calloc malloc realloc in c?
what do u mean by Direct access files? then can u explain about Direct Access Files?
Is c object oriented?
Why are all header files not declared in every c program?
How do I read the arrow keys? What about function keys?