#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 47800main() {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 8333Post New GATE C Interview Questions
What is synchronously and asynchronously?
Write a program to find the given string in the line?
What I need to create and run an asp.net application?
Do you know what are pages and extents? : SQL Server Architecture
How to add behavior to an element using javascript?
How do I copy from a website?
What is the name of the occupational health and safety act in NSW
Are sessions stateless?
What is meant by authorization?
What does state model represent?
How will you describe bundles in laravel?
Will windows 10 drivers work on server 2016?
program A and B are analysed and found to have worst case running time greater than 150NlogN and N*N respectively. which program has the better guarantee after the running time for the large values of N(N>10000)? which program has the better guarantee for the running time of small program N (N<100)? which program will run faster on average for N=1000?
Why do we use pointers in c++?
Mention what is the purpose of using capacity planning?