#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 do you use a 'Local Block'?
What is the symbol indicated the c-preprocessor?
Write a program to print “hello world” without using semicolon?
How many types of sorting are there in c?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What is wrong with this program statement?
Write a Program to find whether the given number or string is palindrome.
How can I open files mentioned on the command line, and parse option flags?
What is call by value in c?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
What does sizeof int return?
can anyone suggest some site name..where i can get some good data structure puzzles???
What are the different types of C instructions?
What is the difference between exit() and _exit() function in c?
What is void main () in c?