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 / deepshree sinha

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,m;
printf('enter any two numbers");
scanf("%d %d",&a,&b);
m=(a>b)?a:b;
printf("m=%d",m);
getch();
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in C?

1163


What are the uses of null pointers?

1057


What is the best way to comment out a section of code that contains comments?

1283


What are the 5 elements of structure?

1050


What is the difference between mpi and openmp?

1235


Can we assign integer value to char in c?

1180


What is a lookup table in c?

1058


What is meant by keywords in c?

1044


Explain argument and its types.

1013


How to draw the flowchart for structure programs?

9284


Can you write the algorithm for Queue?

2046


Is null a keyword in c?

1151


What is the difference between break and continue?

1435


What are the advantages of the functions?

1106


For what purpose null pointer used?

1028