#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 42886main() {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 7172Post New GATE C Interview Questions
Explain the meaning of keyword 'extern' in a function declaration.
Which is not true about evaluate statement
What are spreadsheets mainly used for?
Tell me do you possess any knowledge about accounting standards?
How does the if function work in excel?
Can I delete old microsoft visual c++ files?
Explain #pragma statements.
How can I sort more data than will fit in memory?
Will count(column) include columns with null values in its count?
What is python used for at google?
Which is better Oracle or MS SQL? Why?
Explain some of the controls setup during the configuration of internal order types in the co module?
What is id type in objective c?
How do I find the windowsapps folder?
How can you terminate vi session?