adplus-dvertising
frame-decoration

Question

Which syntax is applicable to declare public member functions in C++?

a.

public:

b.

public()

c.

public void

d.

public::

Answer: (a).public:

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which syntax is applicable to declare public member functions in C++?