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?

Answers were Sorted based on User's Feedback



HOW TO SWAP TWO NOS IN ONE STEP?..

Answer / rahul

Put mirror on SWAP. You can see the reverse on the mirror.

Is This Answer Correct ?    0 Yes 2 No

HOW TO SWAP TWO NOS IN ONE STEP?..

Answer / 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

HOW TO SWAP TWO NOS IN ONE STEP?..

Answer / 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 ?    0 Yes 5 No

HOW TO SWAP TWO NOS IN ONE STEP?..

Answer / ashik

#define SWAP(x,y) int t;t=x;x=y;y=t;

Is This Answer Correct ?    2 Yes 10 No

HOW TO SWAP TWO NOS IN ONE STEP?..

Answer / priya

int a=5,b=2;
printf("%d %d");


execute the pgm deftly swap wil tak place.......

Is This Answer Correct ?    3 Yes 12 No

HOW TO SWAP TWO NOS IN ONE STEP?..

Answer / sasa

step 1.
a=b,b=a

Is This Answer Correct ?    0 Yes 35 No

Post New Answer

More C Interview Questions

What is Dynamic Initialization.

3 Answers  


What is ## preprocessor operator in c?

0 Answers  


What is the significance of c program algorithms?

0 Answers  


What is #line used for?

0 Answers  


Is a house a shell structure?

0 Answers  


write a program to sort the elements in a given array in c language

10 Answers   TCS,


What is the general form of function in c?

0 Answers  


writ a program to compare using strcmp VIVA and viva with its output.

0 Answers  


Is there a way to switch on strings?

0 Answers  


Differentiate between null and void pointers.

0 Answers   TCS,


for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????

8 Answers  


Explain modulus operator. What are the restrictions of a modulus operator?

0 Answers  


Categories