Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
CPP 2
Next »
By default, all members of a class have ___________ access for all its members
Options
- Public
- Protected
- No access
- private
CORRECT ANSWER : private
Discussion Board
Hi
Answer :public
Rajeshwari 06-27-2017 06:48 AM
C++ - Access Specifier
By default, all members of a class have private access for all its members. Therefore, any member that is declared before any other access specifier has private access automatically.
Prajakta Pandit 01-24-2017 01:54 AM
BS(CS)
Please send 20 to 30 questions about pointers and functions.I shall be very thankful to you for this act.
shan ali 02-19-2015 10:50 AM
Answr is wrong or question should be modified.
Answr should be public bcoz member functions of any class can access the data member of same class publicly...
Guys I have realized that Questions of this site are good but maximum answr are more confusing and wrong.
Pushp 12-3-2014 02:00 PM
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
C test (42)
C (12)
C++ for beginners (10)
C++ (20)
C++ (24)
C++ (18)
C++ (14)
C++ (12)
C++ (15)
C++ (15)
Data structure (20)
Data structure (10)
Data structure (10)
Data structure (10)
PERL (25)
VC++ (11)
Oops (30)
Mainframe (41)
Mainframe (15)
Embedded systems (15)
OOAD (49)
Advertisement
▲