#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 / shweta
#include<stdio.h>
#define fun(a) #a#a#a
void main(){
printf("%u",fun(5+9));
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
When a c file is executed there are many files that are automatically opened what are they files?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Explain bit masking in c?
how to create duplicate link list using C???
What is identifier in c?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What are the restrictions of a modulus operator?
Is there sort function in c?
What is a constant?
How can I read data from data files with particular formats?
Why do we use namespace feature?
What is memory leak in c?
please explain every phase in the "SDLC" in the dotnet.
What is mean by data types in c?