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 data structure in c programming?
write a method for an array in which it can display the largest n next largest value.
write a c program for swapping two strings using pointer
Write a program that receives as input a number omaadel-n-print, four digits.
what is a constant pointer in C
Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;
Is this program statement valid? INT = 10.50;
Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Explain the use of keyword 'register' with respect to variables.
What is Conio.h ?
int *a[5] refers to
int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15