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 / abhilash.d

void main()
{
int a,b,big;
printf("enter the values of a,b");
scanf("%d%d",&a,&b);
big=a>b?a:b;
printf("biggest of two no is:%d",big);
}

Is This Answer Correct ?    19 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the variables are used for writing doubly linked list program.

2012


Explain what are linked list?

1036


What is pre-emptive data structure and explain it with example?

3710


What tq means in chat?

1103


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1017


What is the difference between text and binary i/o?

1035


What is default value of global variable in c?

969


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2724


What are the different types of objects used in c?

1016


Are pointers integers in c?

1057


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

1106


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

2219


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

4345


What is the condition that is applied with ?: Operator?

1116


What Is The Difference Between Null And Void Pointer?

1224