Home » Categories » Technical » # define swap (a, b) temp=a; a=b; b=temp;
# define swap (a, b) temp=a; a=b; b=temp;
0
# define swap (a, b) temp=a; a=b; b=temp;

main ( )
{
int i, j, temp;
i=5;
j=10;
temp=0;
if( i > j)
swap( i, j );
printf( "%d %d %d", i, j, temp);
}


a.3 5 7
b.7 8 9
c.10 0 0
d.1 3 5
 
Asked By : yamuna Categories : TechnicalProgrammingCHP
  Answer:   c. 10 0 0
Post Your Answer
Previous Question
Next Question
Related Questions