main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
what is the output?
Answer Posted / manishsoni
here first in
x = y++ + x++;
x=35+20;
x=55;
then x is incresed by 1;
x=56;
y=36
y=++y + ++x;
y=++36 + ++56;
y=37+57;
y=94;
x=57;
now the value of x = 57.
therefore,after performing all operatioins we get,
x==57 And y==94....
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What 'lex' does?
What are data structures in c and how to use them?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
Explain how do you search data in a data file using random access method?
What is a file descriptor in c?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
Why c is a mother language?
What is modeling?
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.
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
How can you allocate arrays or structures bigger than 64K?
what are enumerations in C
Explain the difference between strcpy() and memcpy() function?
What are the 4 types of organizational structures?