ExamVeda
Login
Home
Constructors and Destructors in C plus plus
?

Which of the following represents the correct explicit call to a constructor of class A?
class A{
		int a;
	        public:
		A(int i)
                {
			a = i;
		}
       }

Answer & Solution
Correct Answer: Option C
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.