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



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

Answer / 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

More C Interview Questions

What are the 5 data types?

0 Answers  


what are the different storage classes in c?

0 Answers   TCS,


write a programe returns the number of times the character appears in the string

2 Answers  


When should the const modifier be used?

0 Answers  


What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }

8 Answers   ADITI, Adobe,


What is the difference between realloc() and free()

1 Answers  


What is the function of volatile in c language?

0 Answers  


shorting algorithmS

0 Answers   Wipro,


Explain how do you list a file’s date and time?

0 Answers  


What is the difference between text and binary i/o?

0 Answers  


What is stack in c?

0 Answers  


What are the different types of pointers?

4 Answers   HCL, TCS,


Categories