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
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 |
Answer / piyush
the stament terminator(;) is missing......
so the answer is ,
c:error
Is This Answer Correct ? | 2 Yes | 3 No |
What is the Lvalue and Rvalue?
What is the benefit of using an enum rather than a #define constant?
In which language linux is written?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
In c language can we compile a program without main() function?
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
Write a routine that prints out a 2-D array in spiral order!
A stack can be implemented only using array?if not what is used?
Explain how to reverse singly link list.
consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value
What is the purpose of 'register' keyword in c language?
logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............