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 / venkatesh sabinkar

#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,b=2,t;
clrscr();
printf("a=%d,b=%d",a,b,b=t,a=b,t=a);
getch();
}

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of c language?

1097


What are local static variables? How can you use them?

1148


Why is python slower than c?

1089


hi send me sample aptitude papers of cts?

2165


what are the advantages of a macro over a function?

1142


What are header files why are they important?

1090


How many main () function we can have in a project?

1114


Do you know the difference between malloc() and calloc() function?

1063


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

1091


What is the size of a union variable?

1053


What are the different types of C instructions?

1315


What is storage class?

1076


What is the use of linkage in c language?

1063


Explain what is a program flowchart and explain how does it help in writing a program?

1097


Is c still used?

1047