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...

HOW TO SWAP TWO NOS IN ONE STEP?

Answer Posted / n.ramesh

#include(stdio.h);
#include(stdlib.h);
void main()
{
int a=10,b=20;
swap(a,b);
a=b&b=a;
printf("%d%d",a,b);
}

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of operator or there in c?

1100


Write a c program to demonstrate character and string constants?

2193


Does c have function or method?

1007


what does static variable mean?

1115


Give the rules for variable declaration?

1183


Lists the benefits of c programming language?

1141


What is difference between union All statement and Union?

1113


Write a code on reverse string and its complexity.

1040


What are the valid places to have keyword “break”?

1091


Write program to remove duplicate in an array?

1088


What are the different types of control structures?

1048


What is the best organizational structure?

1124


What is New modifiers?

1131


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

1157


Explain the Difference between the New and Malloc keyword.

1144