adspace


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

What is variable initialization and why is it important?

1394


What is pointer to pointer in c with example?

1200


i have a written test for microland please give me test pattern

2814


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1297


ATM machine and railway reservation class/object diagram

5337


How do you convert strings to numbers in C?

1346


will u please send me the placement papers to my mail???????????????????

1930


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1361


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2516


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

2400


What is the general form of a C program?

1100


What are compound statements?

1292


What is dynamic dispatch in c++?

1140


swap 2 numbers without using third variable?

1211


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2740