void main()
{
int x=25,y=32;
clrscr();
x=x++ + y++;
y=++x + ++y;
printf("%d%d",x,y);
}
Answer Posted / myfriend_shankar
ans is 59 93
because
void main()
{
1.x=x++ + y++; 25+32 (bcoz of x=x++ so) 26+32=58
2.y=++x + ++y; 59+34=93(after this x=59)
(becoz of x=x++ the last value 59 be the x value)
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Explain high-order and low-order bytes.
Is c call by value?
What is the use of sizeof () in c?
application attempts to perform an operation?
Explain what are multibyte characters?
What is %s and %d in c?
how to make a scientific calculater ?
Why static variable is used in c?
Difference between constant pointer and pointer to a constant.
What does it mean when a pointer is used in an if statement?
What is wrong with this program statement? void = 10;
what is the function of pragma directive in c?
Why is structure padding done in c?
Explain what are bus errors, memory faults, and core dumps?
What does d mean?