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


f=(x>y)?x:y
a) f points to max of x and y
b) f points to min of x and y
c)error

Answers were Sorted based on User's Feedback



f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error ..

Answer / guest

Ans. A

Is This Answer Correct ?    6 Yes 1 No

f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error ..

Answer / guest

a) f points to max of x and y

Is This Answer Correct ?    2 Yes 0 No

f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error ..

Answer / guest

a) f points to max of x and y
if (x > y) is true.. x would be returned, else y.

Is This Answer Correct ?    2 Yes 1 No

f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error ..

Answer / piyush

the stament terminator(;) is missing......
so the answer is ,
c:error

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More C Interview Questions

Write the test cases for checking a variable having value in range -10.0 to +10.0?

0 Answers   Bosch,


Explain enumerated types in c language?

0 Answers  


how to find the size of the data type like int,float without using the sizeof operator?

13 Answers  


Why static is used in c?

0 Answers  


Write a simple program to find the size of different basic data types in C.

3 Answers  


f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?

9 Answers   Hughes, Tech Mahindra,


What is the acronym for ansi?

0 Answers  


When is a void pointer used?

0 Answers  


Write a program in C to reverse a number by recursive function?

1 Answers  


what is the different bitween abap and abap-hr?

0 Answers   TCS,


What is operator promotion?

0 Answers  


Can you think of a logic behind the game minesweeper.

0 Answers  


Categories