What does c+ in (private,public,protect) means? Why is this used in c programming?
48 Views|1 Followers|Posted 9 years ago
Asked by Akber Ali M
1 Answer
P
Answered by
8 years ago
These are called access modifiers in C++, basically they determine if the date of one class can be accessed by others or not. Data introduced in public are free to be used by other classes, private prevents this and protect enables access to inherited classes.
C is not object oriented and so does no
Taking an Exam? Selecting a College?
Get authentic answers from experts, students and alumni that you won't find anywhere else.
On Shiksha, get access to
66K
Colleges
|
1.2K
Exams
|
6.9L
Reviews
|
1.8M
Answers
Didn't find the answer you were looking for?
Search from Shiksha's 1 lakh+ Topics
or
Ask Current Students, Alumni & our Experts
Have a question related to your career & education?
or
See what others like you are asking & answering