main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}

what is the output?

Answer Posted / krzysztof

People... is itt really so hard to compile that and check? Correct answer, compiled with gcc:
56 93

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2993


How do you search data in a data file using random access method?

844


What are the advantages of union?

633


What are unions in c?

589


How many types of arrays are there in c?

604






How can I manipulate strings of multibyte characters?

643


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

677


What is huge pointer in c?

589


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

709


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1500


What are structure types in C?

679


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

883


Why isn't any of this standardized in c? Any real program has to do some of these things.

630


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

750


What is an example of structure?

591