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

What is a 'null pointer assignment' error?

1250


How can I list all of the predefined identifiers?

1032


Write the control statements in C language

1279


Define Spanning-Tree Protocol (STP)

1178


How would you rename a function in C?

1090


about c language

2074


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1369


Define recursion in c.

1349


What is volatile, register definition in C

1151


Write a program that accept anumber in words

1811


What is the use of sizeof () in c?

1099


How can a program be made to print the line number where an error occurs?

1134


What is getch c?

1342


What is a struct c#?

1099


shorting algorithmS

2312