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 is an lvalue?

1109


How can I dynamically allocate arrays?

1171


Is c a great language, or what?

1169


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2135


Explain how can I convert a number to a string?

1208


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

1559


Why we use int main and void main?

1120


Why is structure padding done in c?

1195


What is the difference between char array and char pointer?

1123


a value that does not change during program execution a) variabe b) argument c) parameter d) none

1296


How many bytes are occupied by near, far and huge pointers (dos)?

1220


what do u mean by Direct access files? then can u explain about Direct Access Files?

2150


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1327


What are the complete rules for header file searching?

1133


What is sizeof array?

1110