main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}

output??

Answer Posted / neha gupta

according to c standard they are undefined expressions.different compilers interpret answer in different way.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what value is returned to operating system after program execution?

1609


Why c is called procedure oriented language?

588


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

1649


Explain the process of converting a Tree into a Binary Tree.

2114


Do pointers take up memory?

671






What is the size of enum in bytes?

597


What is self-referential structure in c programming?

665


How can you find out how much memory is available?

621


What is s in c?

625


Are comments included during the compilation stage and placed in the EXE file as well?

679


how to introdu5ce my self in serco

1532


How many types of operators are there in c?

627


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

1774


What are structure members?

604


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

653