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

Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

4191


Explain how does flowchart help in writing a program?

1100


What is substring in c?

1182


What does 3 periods mean in texting?

1044


What is structure packing in c?

1065


write a proram to reverse the string using switch case?

2919


What is scope rule of function in c?

1074


What is wild pointer in c with example?

1045


What is difference between structure and union?

1115


In which language linux is written?

1212


Do you know what are the properties of union in c?

1063


How do you do dynamic memory allocation in C applications?

1073


What are the standard predefined macros?

1125


How can I find out if there are characters available for reading?

1101


write a c program to find the sum of five entered numbers using an array named number

2120