#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 48269main() {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 8400Post New GATE C Interview Questions
Describe paging in asp.net?
Is it possible to specify the type of data load and replication in sap hana? : hana sql script
What software do hackers use?
Where work objects will be stored?
What are the inbulit angular directives?
which type of signal used in instrument?
What is the explanation for protection fault?
Tell about the various accounts in the bank?
How does xaml relate to xml-based web service transport protocols (xp, soap, ebxml transport)? : xaml
Explain the special input delimiters used in sas programming.
Do people still use mvc?
What is market basket analysis? How would you do it in r and python?
What is the shortcut to duplicate a voucher and to add a voucher in Tally ERP 9?
Can a constructor be private in c#?
What is il and c#?