Skip to content
Related Articles
Open in App
Not now

Related Articles

QA – Placement Quizzes | SP Contest 2 | Question 8

Improve Article
Save Article
Like Article
  • Last Updated : 18 Jul, 2018
Improve Article
Save Article
Like Article

A C++ class can contain a member of SELF type if the member is.

  1. Static
  2. Pointer
  3. Non-static

(A) Only 3
(B) Both 2 and 3
(C) Both 1 and 2
(D) Only 1


Answer: (C)

Explanation: https://www.geeksforgeeks.org/can-a-c-class-have-an-object-of-self-type/

Quiz of this Question

My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!