answersLogoWhite

0

Public members in C++ have accessibility to any function that has scope to the instance of the class, whereas private members have accessibility only to functions of that class.

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga

Add your answer:

Earn +20 pts
Q: What if you declare public members rather than private in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

Who is number is this 01233648505?

These IP numbers are rather private and not to be shared.


What percentage of physicians are in private practice?

The percentage of physicians in private practice used to be rather high. These days the percent of private practice physicians is close to only about 39%.


What is Christina ricci's IQ?

Christina Ricci's IQ is not publicly disclosed, and there is no verified information available regarding her intelligence quotient. IQ scores are typically private, and many public figures do not share this information. Ricci is best known for her acting talent and diverse roles in film and television rather than her IQ.


Can a null set be in union with a set of numbers in math?

Yes. Union is an operation in which all the members of any two sets are placed in a common set. The union operation can be applied to the null set and any set but since it has no members, it does not change the set the union is taken with. It is rather like adding 0 to a number.


Difference between interim dividend and final dividend?

An interim dividend is declared and paid by the directors subject to the members approval (at the AGM after the accounts have been laid before the members or members written resolution). A final dividend is a dividend approved by the members either in general meeting or by writen resolution. I think these used to be shown as proposed dividends before the latest FRS on events after the balance sheet date or final dividend paid if approved by the members in the year. I believe an interim dividend should be paid in cash but that a final dividend as it is approved by the members could be credited to a directors loan account at the date of approval rather than paid in cash