What is a constructor and how is it called?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Explain the different access specifiers for the class member in c++.

0 Answers  


What are the advantages of using friend classes?

0 Answers  


What is a class definition?

0 Answers  


What is buffering in c++?

0 Answers  


How can you specify a class in C++?

0 Answers  






What is constructor c++?

0 Answers  


What are c++ manipulators?

0 Answers  


What does override mean in c++?

0 Answers  


class HasStatic { static int I; }; Referring to the sample code above, what is the appropriate method of defining the member variable "I", and assigning it the value 10, outside of the class declaration? a) HasStatic I = 10; b) int static I = 10; c) static I(10); d) static I = 10; e) int HasStatic::I = 10;

1 Answers   Quark,


What are the advantages of using pointers in a program?

0 Answers  


can anybody please tell me how to write a program in c++,without using semicolon(;)

6 Answers   NIIT,


Do the parentheses after the type name make a difference with new?

0 Answers  


Categories