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 |
a=5 a=a++/++a
What is pointers in c with example?
What are the 4 types of unions?
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?
p*=(++q)++*--p when p=q=1 while(q<=6)
main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
5 Answers Vector, Vector Solutions,
What is the difference between char array and char pointer?
List the difference between a While & Do While loops?
What is the OOPs concept?
Is javascript written in c?
number 2 plssssss help !!....using array.. turbo c.. create a program that will accept a number and determine if it is a happy number or an unhappy number.. example: enter a number : 7 7*7=49 then 4 and 9 4*4 and 9*9== 16 + 18 gives you 97 then 9 and 7 9*9 and 7*7 == 81 + 49 gives you 130 then 1 and 3 1*1 and 3*3 == 1 + 9 gives you 10 1*1 gives you 1 sample output: 7= 49= 16+81= 97= 81+49=130 =1+9=10 =1 "7 is a happy number" . if the last number is 2 then the number being inputed is not a happy number.
Explain what is wrong in this statement?