#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
Are c and c++ the same?
What is ## preprocessor operator in c?
What is a good data structure to use for storing lines of text?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
what is a constant pointer in C
What is difference between structure and union with example?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Explain 'bus error'?
What is the difference between memcpy and memmove?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What does char * * argv mean in c?
What is a void pointer in c?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...