#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
Define recursion in c.
Explain is it valid to address one element beyond the end of an array?
How can I invoke another program or command and trap its output?
Does c have function or method?
What is a class c rental property?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
What does printf does?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Write a program to print factorial of given number without using recursion?
Can you define which header file to include at compile time?
Why do some versions of toupper act strangely if given an upper-case letter?
Why enum is used in c?
Why does everyone say not to use gets?
Do you know the difference between exit() and _exit() function in c?
Can a program have two main functions?