#define MAX(x,y) (x) >(y)?(x):(y)
main()
{
inti=10,j=5,k=0;
k= MAX(i++,++j);
printf("%d..%d..%d",i,j,k);
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

write a program to find the largest and second largest integer from an array

2 Answers   Value Labs,


WHAT IS HEADER?

8 Answers   ProKarma, TCS,


List out few of the applications that make use of Multilinked Structures?

1 Answers   Accenture,


Write a code to remove duplicates in a string.

0 Answers   Expedia,


5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function

1 Answers   TCS,






What are header files why are they important?

0 Answers  


how to set Nth bit of variable by using MACRO

3 Answers   HCL,


How to calculate Total working time using Login and logout?

2 Answers   CTS, Cygnus, Infosys, Signal Networks, TCS, Wipro,


How to print "I Love My India" without using semi colon?

4 Answers  


what is difference between userlevel threads and kernel level threads ?what are the trades offs between these two approaches ? what approach is most frequently used and why ?

1 Answers  


which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;

5 Answers   Assurgent, TCS,


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

0 Answers  


Categories