References - Programming

Q1:

Which of the following statement is correct about the program given below?
#include<iostream.h> 
int i, j; 
class AptitudeCrack
{
    public:
    AptitudeCrack(int x = 0, int y = 0)
    {
        i = x; 
        j = x; 
        Display();
    }
    void Display()
    {
        cout<< j <<" ";
    } 
}; 
int main()
{
    AptitudeCrack objAptitude(10, 20); 
    int &s = i; 
    int &z = j; 
    i++;
    cout<< s-- << " " << ++z; 
    return 0; 
}

A The program will print the output 0 11 21.

B The program will print the output 10 11 11.

C The program will print the output 10 11 21.

D The program will print the output 10 11 12.

E It will result in a compile time error.

ANS:B - The program will print the output 10 11 11.

No answer description is available. Let's discuss.