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...

biggest of two no's with out using if condition statement

Answer Posted / ansh

Use tenary operator..

c=a<b?b:a;

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c basic?

1166


Why is it that not all header files are declared in every C program?

1215


What is actual argument?

1060


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

1111


What is a constant?

1059


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1002


What is a double c?

981


write a proram to reverse the string using switch case?

2936


Is file a keyword in c?

933


What is the use of a conditional inclusion statement in C?

1059


what is the different bitween abap and abap-hr?

2318


How can I find out the size of a file, prior to reading it in?

1170


What is scope rule of function in c?

1091


What is strcpy() function?

1140


write a program to generate address labels using structures?

4572