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

without using control structures and control structures find the max and min of given 2 nos

Answer Posted / chavidi

by using ternary operators we can find the max number among
2 numbers
a>b?a:b;

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does normalization of huge pointer works?

1099


How can I read a binary data file properly?

1070


How can I open a file so that other programs can update it at the same time?

1128


How was c created?

996


Do pointers take up memory?

1079


Why functions are used in c?

1067


What are data structures in c and how to use them?

1093


all c language question

2374


What is 1d array in c?

1028


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1203


If null and 0 are equivalent as null pointer constants, which should I use?

1117


Why do we use c for the speed of light?

1097


Are c and c++ the same?

1001


Describe newline escape sequence with a sample program?

1067


When is a void pointer used?

1191