#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
12 6 11
Is This Answer Correct ? | 70 Yes | 32 No |
Post New Answer View All Answers
What does p mean in physics?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
What is NULL pointer?
Find MAXIMUM of three distinct integers using a single C statement
What is the difference between #include and #include 'file' ?
What are formal parameters?
What are the advantages and disadvantages of c language?
What is methods in c?
What does %p mean?
What is function prototype?
How to implement a packet in C
What is the use of parallelize in spark?
Write a program to find factorial of a number using recursive function.
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.