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

Does c have function or method?

0 Answers  


write a program without using main function?

2 Answers   TCS,


write a C and C++ programme to implement the A,bubble sort B,quick sort C,insertion sort D,sequential search E,binary search

1 Answers   ADP, TCS,


Can we declare a function inside a function in c?

0 Answers  


#include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain &#1567;&#1567;&#1567;

4 Answers  






Why do we use int main instead of void main in c?

0 Answers  


which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none

7 Answers   Trident,


how can make variable not in registers

1 Answers   TCS,


What are the application of void data type in c?

0 Answers  


what is the output of the program?? #include<stdio.h> main ( ) { int a=010,sum=0,tracker: for(tracker=0;tracker<=a;tracker++) sum+=tracker; printf(ā€œ %d\nā€,sum); } what is the difference between a=10 and a=010??

3 Answers   Oracle,


What is an arrays?

0 Answers  


Read two numbers from keyboard and find maximum of them?

1 Answers  


Categories