In context of C++, which of the following is a valid statement?

HTET 2022

In context of C++, which of the following is a valid statement?

  1. A.

    Friend function of a class is always member function of that class.

  2. B.

    Value of static data member cannot be changed once assigned.

  3. C.

    Keywords private, protected and public may appear in any order and any number of times in a class.

  4. D.

    Static data member of a class can be accessed only by static member function of that class.

Attempted by 484 students.

Sign up free to check your answer

Sign up free

Explore the full course: Bpsc

Loading lesson…