#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

Why structure is used in c?

0 Answers  


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

0 Answers  


How to throw some light on the b tree?

0 Answers  


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

0 Answers  


what is function pointer?

2 Answers   Wipro,






difference between ordinary variable and pointer in C?

2 Answers  


write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1

3 Answers  


Is javascript based on c?

0 Answers  


what does ‘Bus Error’ mean?

1 Answers   ABC,


How can I change the size of the dynamically allocated array?

0 Answers  


consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none

7 Answers   TCS,


What is a null pointer in c?

0 Answers  


Categories