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

#include<stdio.h>
main()
{int a,b,c;
scanf("%d%d",&a,&b);
c=(a>b)?a:b;
printf("%d",c);
return(0);
}

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain why c is faster than c++?

1076


What is the difference between mpi and openmp?

1306


Is it better to use a macro or a function?

1167


What are the advantages and disadvantages of a heap?

1218


What is the advantage of c?

1133


Explain how can I convert a number to a string?

1154


what is a constant pointer in C

1186


Can you think of a logic behind the game minesweeper.

2470


write a program to display all prime numbers

1977


Explain what are the standard predefined macros?

1123


What is the right type to use for boolean values in c? Is there a standard type?

1018


What are void pointers in c?

1004


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

2300


What does c value mean?

1205


Explain low-order bytes.

1047