main()
{
int x=5,y=10,z=0;
x=x++ + y++;
y=y++ + ++x;
z=x++ + ++y;
printf("%d%d%d\n",x,y,z);
}

Answer Posted / vaishnavi

x=16,y=28,z=34

Is This Answer Correct ?    3 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

2177


Explain is it better to bitshift a value than to multiply by 2?

723


What is line in c preprocessor?

618


What functions are in conio h?

665


Explain how can I manipulate strings of multibyte characters?

788






Do pointers store the address of value or the actual value of a variable?

615


What are pointers in C? Give an example where to illustrate their significance.

754


What are register variables? What are the advantage of using register variables?

691


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

3665


What does it mean when the linker says that _end is undefined?

638


What is the difference between char array and char pointer?

532


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

1719


What are the general description for loop statement and available loop types in c?

691


Why cant I open a file by its explicit path?

599


What are preprocessor directives in c?

643