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 2 numbers within a single statement?

Answer Posted / ratishchandra huidrom

if(c=a&&a=b&&b=c)printf("%d %d",a,b);

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Was 2000 a leap year?

1004


What does c mean before a date?

1104


Why pointers are used?

1022


What are pragmas and what are they good for?

936


How do we open a binary file in Read/Write mode in C?

1176


What does %c do in c?

939


please explain every phase in the "SDLC" in the dotnet.

2560


What is difference between union All statement and Union?

1059


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1031


What does malloc () calloc () realloc () free () do?

1002


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2204


Give differences between - new and malloc() , delete and free() ?

1045


How can I prevent another program from modifying part of a file that I am modifying?

1010


How is pointer initialized in c?

976


Write program to remove duplicate in an array?

1026