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

what will the values of i , j and k?
}

Answer Posted / guest

x=11

k=11

j=6

Is This Answer Correct ?    4 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string concatenation in c?

571


What does main () mean in c?

619


What is preprocessor with example?

593


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

811


Why we use int main and void main?

542






What is a spanning Tree?

966


What is the difference between scanf and fscanf?

671


List the different types of c tokens?

630


Explain how can I convert a number to a string?

652


What are the different types of constants?

644


What are the differences between new and malloc in C?

612


What is p in text message?

544


Explain the difference between the local variable and global variable in c?

606


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2010


What are the parts of c program?

642