Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

With the help of using classes, write a program to add two numbers.

988


Explain b+ tree?

1012


What is main return c?

940


How can I discover how many arguments a function was actually called with?

1022


How can I send mail from within a c program?

988


Explain the difference between malloc() and calloc() in c?

1009


What are the keywords in c?

1080


What does volatile do?

943


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?

2630


What is the acronym for ansi?

1001


What are local static variables? How can you use them?

1084


Why we write conio h in c?

970


What type is sizeof?

1000


What is equivalent to ++i+++j?

1047


What are operators in c?

968