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...


Program to find larger of the two numbers without using if-else,while,for,switch

Answers were Sorted based on User's Feedback



Program to find larger of the two numbers without using if-else,while,for,switch..

Answer / vara

#include<stdio.h>
void main()
{
int a=4,b=5;
a>b?printf("a is greater than big"):b is pig
}

Is This Answer Correct ?    10 Yes 25 No

Post New Answer

More C Interview Questions

Is the exit() function same as the return statement? Explain.

0 Answers   Agilent, ZS Associates,


Do you know the use of 'auto' keyword?

0 Answers  


What is a C array and illustrate the how is it different from a list.

1 Answers   Amazon,


Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc

4 Answers  


What are the ways to a null pointer can use in c programming language?

0 Answers  


What is int main () in c?

0 Answers  


int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.

15 Answers   Global Edge,


Please list all the unary and binary operators in C.

3 Answers  


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

0 Answers  


long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

18 Answers   Acropolis, HCL, Intel, TCS,


How would you obtain the current time and difference between two times?

0 Answers   TISL,


main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the output?

9 Answers   Ramco,


Categories