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

Why do we use null pointer?

1011


What will be your course of action for a push operation?

1065


Is multithreading possible in c?

957


Does c have an equivalent to pascals with statement?

964


What is zero based addressing?

1121


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1813


What does calloc stand for?

1100


What is data structure in c language?

1072


The __________ attribute is used to announce variables based on definitions of columns in a table?

1151


Explain how can you avoid including a header more than once?

1051


How can I discover how many arguments a function was actually called with?

1035


Explain what are preprocessor directives?

1026


What are static variables in c?

1036


When is a “switch” statement preferable over an “if” statement?

1083


How can a program be made to print the line number where an error occurs?

1046