main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
Answer Posted / manju
while calculating the x value,x & y values are post
incremented.So the values of x & y are added and then
incremented i.e. x=56,y=36
while calculating the y value,x & y values are
preincremtned,so x & y values are incremented and then
added i.e. x=57,y=37.
so x=57
y=57+37=94.
| Is This Answer Correct ? | 58 Yes | 18 No |
Post New Answer View All Answers
Is c procedural or object oriented?
What is malloc() function?
a program that can input number of records and can view it again the record
How many data structures are there in c?
Why do we use main function?
What is getch?
What are the types of c language?
What is New modifiers?
What do you mean by c what are the main characteristics of c language?
Is void a keyword in c?
Explain can you assign a different address to an array tag?
Write a program to reverse a string.
Dont ansi function prototypes render lint obsolete?
What is #line in c?
Why string is used in c?