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

Why is structure important for a child?

710


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

949


What is #define used for in c?

715


Describe the header file and its usage in c programming?

708


Can include files be nested? How many levels deep can include files be nested?

739






How to delete a node from linked list w/o using collectons?

2184


Why doesnt the call scanf work?

784


Apart from dennis ritchie who the other person who contributed in design of c language.

922


What does the file stdio.h contain?

696


Why main is used in c?

684


Why functions are used in c?

710


Explain function?

740


Which is an example of a structural homology?

911


What are file streams?

664


How can I direct output to the printer?

933