adplus-dvertising
frame-decoration

Question

What is the output of this program?
    #include <iostream>
    using namespace std;
    int main ()
    {
        int x, y;
        x = 5;
        y = ++x * ++x;
        cout << x << y;
        x = 5;
        y = x++ * ++x;
        cout << x << y;
        return 0;
    }

a.

749736

b.

736749

c.

367497

d.

none of the mentioned

Answer: (a).749736

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program?