Home / CSE / Object Oriented Programming Using C++ :: Discussion

Discussion :: Object Oriented Programming Using C++

  1. Assume that a program creates and initializes a Short Integer variable named age and a pointer named agePtr, to which it assigns the address of the age variable. Which of the following statements will assign the number 21 to the age variable?

  2. A.
    age = 21;
    B.
    *age = 21;
    C.
    agePtr = 21;
    D.
    *agePtr = 21;
    E.
    both (a) and (d)

    View Answer

    Workspace

    Answer : Option E

    Explanation :

    No answer description available for this question.


Be The First To Comment