#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 47043main() {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 8201Post New GATE C Interview Questions
Why an electric field is produced in a depletion region of a p-n junction?
What is ios image?
What do you mean by rows and columns?
What is client side in javascript?
Explain something about address and addrbook tables?
Do you know what is the purpose of t3 in weblogic server?
What is bearer token?
What is the difference between rmdir and rm r?
Is it possible to use a S1 duty class motor for crane application (S4)? If not, why?
Explain the difference between cloud and traditional datacenters?
How do I keep formatting when copying and pasting in word?
What happens when regular water is replaced with salt water for plant consumption?
Why are component architectures useful?
What is the key difference between a list and the tuple?
Can we run multiple instances of tomcat server on a single machine? If yes how?