#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? }
14 47781main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
1 8332Post New GATE C Interview Questions
What are the features of junit?
Which test will be more severe for VCB?
What is a Foreign Key?
Describe aop.
What is differences in swift 1.x, 2.x, 3.x, 4.x?
What is the basic philosophy of health, disease and treatment in ayurveda?
What do you know about PACs?
What is the purpose of @override in android?
what is the difference between Windows application and Unix application?
Differentiate between sqlclient oledb and providers?
what is the use of defaults tab in start menu
What are the differences between session method and call transaction method? : abap bdc
Why would you use an orm?
What are the data in material master that are maintained at the company code level?
What do you mean by synchronous and asynchronous operations?