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

Explain what is the difference between the expression '++a' and 'a++'?

1 Answers  


What is the difference b/w Structure & Union?

3 Answers  


How can I call a function, given its name as a string?

4 Answers   ABC Telecom,


how to convert an char array to decimal array

4 Answers  


int far *near * p; means

1 Answers   Honeywell,


what is the flow of execution in cprogram? ex:printf();,scanf();

2 Answers  


What is %g in c?

1 Answers  


Sir i want e-notes of C languge of BAlaguruswami book i.e scanned or pdf file of balaguruswamy book on c language.PLEASE SEND ME on my mail id ajit_kolhe@rediff.com

8 Answers  


helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe

2 Answers  


What is the o/p of the follow pgm? #include<stdio.h> main() { char char_arr[5]=”ORACL”; char c=’E’; prinf(“%s\n”,strcat(char_arr,c)); } a:oracle b. oracl c.e d.none

2 Answers   Oracle,


Why do we write return 0 in c?

1 Answers  


c program to manipulate x=1!+2!+3!+...+n! using recursion

1 Answers   TCS,


Categories