#include<stdio.h>
#include<conio.h>
# define swap(a,b) temp=a; a=b; b=temp;
void main( )
{
int i, j, temp;
i=5;
j=10;
temp=0;
if( i > j)
swap( i, j );
printf( "%d %d %d", i, j, temp);
}
Answer Posted / vinodhini
The output will be
5100
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can I split up a string into whitespace-separated fields?
Array is an lvalue or not?
What is string function in c?
Why should I prototype a function?
Can you please compare array with pointer?
List a few unconditional control statement in c.
difference between Low, Middle, High Level languages in c ?
Difference between Shallow copy and Deep copy?
How to write a code for reverse of string without using string functions?
Why string is used in c?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is the description for syntax errors?
What is storage class?
What is fflush() function?
What is nested structure?