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
With the help of using classes, write a program to add two numbers.
Explain b+ tree?
What is main return c?
How can I discover how many arguments a function was actually called with?
How can I send mail from within a c program?
Explain the difference between malloc() and calloc() in c?
What are the keywords in c?
What does volatile do?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
What is the acronym for ansi?
What are local static variables? How can you use them?
Why we write conio h in c?
What type is sizeof?
What is equivalent to ++i+++j?
What are operators in c?