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

define switch statement?

6 Answers   CTS,


Output for following program using for loop only * * * * * * * * * * * * * * *

3 Answers  


What is the difference between local variable and global variable in c?

0 Answers  


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

0 Answers  


What do header files do?

0 Answers  






What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

0 Answers  


Write a program to print fibonacci series using recursion?

0 Answers  


Not all reserved words are written in lowercase. TRUE or FALSE?

0 Answers  


What is && in c programming?

0 Answers  


Is swift based on c?

0 Answers  


What is adt in c programming?

0 Answers  


the number 138 is called well ordered number because the three digits in the number (1,3,8) increase from left to right (1<3<8). the number 365 is not well ordered coz 6 is larger than 5. write a program that wull find and display all possible three digit well ordered numbers. sample: 123,124,125,126,127,128,129,134 ,135,136,137,138,139,145,146,147 148 149,156.......789

5 Answers  


Categories