#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 42758main() {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 7126Post New GATE C Interview Questions
What are the common ways to handle missing data in a dataset?
What class is used to create Server side object ?
What is logistics in the fscm?
how would you look at a trail file using logdump, if the trail file is encrypted?
How do I see processes in linux?
What is colorstatelist?
What is the do while activity in uipath?
You are a project manager working on contract with a company in a foreign country. At the project kick-off meeting, you are given an expensive-looking gift. The person who presented this to you said that it is customary in their country to give their business partners gifts. What is the most appropriate response? A. Thank them and decline. Explain that this is considered personal gain, which is unacceptable in your country. B. Thank them and accept. You don't believe there is a conflict of interest or an integrity issue at stake. C. Thank them and decline. Explain that this is considered a conflict of interest, which is unacceptable in your country. D. Thank them and accept since you know that it would be considered offensive to decline the gift in their culture. Immediately report the acceptance of the gift to the appropriate parties at your company so that your actions are not called into question later.
Which condition will prevail for the design of a swimming pool ? When the pool is empty or when it is filled ?
Why is microsoft azure good?
low frequency protection why recomend?
What is a shell script in windows?
how do you define an altindx ? How do you use altindxs in batch, cics programs?
What is recursive workflow rule? How to avoid recursive workflow rules?
When would you use oauth vs openid?