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

main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }

6 Answers  


What are the storage classes in C?

0 Answers  


Can you pass an entire structure to functions?

0 Answers  


What is const and volatile in c?

0 Answers  


How does variable declaration affect memory?

1 Answers  


How can I automatically locate a programs configuration files in the same directory as the executable?

0 Answers  


print 1-50 with two loop & two print Statement

2 Answers  


How can you avoid including a header more than once?

0 Answers  


Explain how can I convert a number to a string?

0 Answers  


What is %lu in c?

0 Answers  


What is a macro in c preprocessor?

0 Answers  


Are the outer parentheses in return statements really optional?

0 Answers  


Categories