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

Why is event driven programming or procedural programming, better within specific scenario?

2438


What is call by value in c?

1008


How #define works?

1113


How can I write a function that takes a format string and a variable number of arguments?

1060


What is spaghetti programming?

1142


Why is it usually a bad idea to use gets()? Suggest a workaround.

1791


How many bytes is a struct in c?

1172


Is c pass by value or reference?

1042


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1947


When c language was developed?

1063


How does pointer work in c?

1129


What are global variables?

1196


Write a program of prime number using recursion.

1096


Place the #include statement must be written in the program?

1042


What is the use of extern in c?

1096