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

What is the difference between volatile and const volatile?

554


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

633


How do I create a directory? How do I remove a directory (and its contents)?

596


What is #include stdio h?

672


which type of aspect you want from the student.

1691






What are derived data types in c?

598


Where define directive used?

594


Not all reserved words are written in lowercase. TRUE or FALSE?

712


How to draw the flowchart for structure programs?

8751


Explain null pointer.

612


Where are c variables stored in memory?

588


Explain what’s a signal? Explain what do I use signals for?

599


What are pointers? What are different types of pointers?

616


Explain what is a pragma?

579


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2670