Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is the -> in c?

0 Answers  


declare afunction pointer to int printf(char *)?

1 Answers   HCL,


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.

0 Answers  


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

0 Answers  


Write a program to find the given number is odd or even without using any loops(if,for,do,while)

4 Answers   CNC, Gokul,


What are pointers? Why are they used?

0 Answers  


Explain setjmp()?

0 Answers  


How can I run c program?

0 Answers  


What are the advantages of c preprocessor?

0 Answers  


a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 Answers   TCS,


void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }

1 Answers  


Categories