Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

#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


Please Help Members By Posting Answers For Below Questions

What is the difference between mpi and openmp?

1216


What is assignment operator?

997


Explain b+ tree?

1006


What is the use of gets and puts?

969


What do you mean by dynamic memory allocation in c?

1049


When is a “switch” statement preferable over an “if” statement?

1070


Is a house a shell structure?

1104


Is c weakly typed?

966


Is it possible to pass an entire structure to functions?

941


Can we initialize extern variable in c?

1074


Write a program to know whether the input number is an armstrong number.

1072


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1382


write a program to concatenation the string using switch case?

2034


How are pointers declared in c?

1002


What is union and structure in c?

1146