#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 47841main() {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 8336Post New GATE C Interview Questions
What is difference between jspwriter and servlet printwriter?
What are the uses of synchronized keyword?
What do you think are your biggest weaknesses and strengths?
Give me the advantages of web services over com and dcom?
i have interview in Pepsi company what type of question will ask please send the question and answeer
what is sessions and cookies take one example simple way to understand
What is the data provider name to connect to access database?
How do I partition a table in sql server?
What is Protocol Data Unit
how do you plan to grow within an organization?
How to change sql*plus system settings?
What is meant by int?
Explain wcf contracts?
Explain what is loose binding? Why is it not a good practice to use it?
What is validation in laravel and how it is used?