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
Can include files be nested?
What is null pointer constant?
Difference between exit() and _exit() function?
find out largest elemant of diagonalmatrix
What is the difference between scanf and fscanf?
Why main is used in c?
What are the uses of null pointers?
How do you define CONSTANT in C?
How can I open files mentioned on the command line, and parse option flags?
What does d mean?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Why functions are used in c?
plz let me know how to become a telecom protocol tester. thank you.
What is the difference between array and pointer in c?