App Logo

No.1 PSC Learning App

1M+ Downloads
Which access specifier is used for constructors in C++?

Aprivate

Bpublic

Cprotected

Dall the above

Answer:

B. public

Read Explanation:

  • The public keyword is used to create public members (data and functions).
  • The public members are accessible from any part of the program.

Related Questions:

Protocol used by WWW:
..... converts high level language in to machine level language.
The assembly language uses symbols instead of numbers known as:
Which of the following is not true in case art of public inheritance in C
With the help of assembler the source programme converts into :