#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 / vignesh1988i

i=12
j=6
k=11

Is This Answer Correct ?    20 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it that not all header files are declared in every C program?

870


Explain output of printf("Hello World"-'A'+'B'); ?

1148


What is meant by operator precedence?

857


How do we print only part of a string in c?

794


Can you please explain the difference between malloc() and calloc() function?

826






What is cohesion in c?

719


What is structure data type in c?

730


Can main () be called recursively?

848


Why use int main instead of void main?

821


Write a program in c to replace any vowel in a string with z?

863


regarding pointers concept

1789


What do mean by network ?

861


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

840


How was c created?

790


Can we access array using pointer in c language?

820