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 -> in c?
declare afunction pointer to int printf(char *)?
print ur name without using any semicolon in c/c++....
21 Answers Bosch, TCS, Wipro,
Describe the order of precedence with regards to operators in C.
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Write a program to find the given number is odd or even without using any loops(if,for,do,while)
What are pointers? Why are they used?
Explain setjmp()?
How can I run c program?
What are the advantages of c preprocessor?
a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6
void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }