New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
which members of A are accessible from B?and why? class A{ int a; protected: float b; public: char c; }; class B:private A{}; 1) a 2) b 3) c 4) none
c++
0 Votes
3 Answers
25th Aug 2016, 3:28 AM
Lekhraj Singh
scope resolution operator
c++
classes
constructors
functions
members
operators
scope
1 Vote
2 Answers
16th Nov 2016, 1:36 PM
Tony Robinson
Which members of A are accessible from B??? class A{ int a; protected: float b; public: char c; }; class B : private A{ }; I think it should be none as A is private.. but its wrong!!
c++
1 Vote
3 Answers
9th Sep 2016, 10:09 AM
Soutik
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
3
4
Next >
Hot today
Strange narrowing conversion error from FLTK Color to Color Struct, Stroustrup's header Graph.h
0 Votes
Effects on HTML and JavaScript
0 Votes
no se cual es la respuesta de esta
0 Votes
Can anyone help me with this?
0 Votes
Any good alternative to do this
2 Votes
While loop with input dont work
1 Votes
Python frameworks problem
0 Votes
There is a Python test on Solularen, but I did not find the correct solution.
0 Votes
if the font always work in google chrome
0 Votes
Hi everyone! I want change div with name "cd" to text(how to add url here)when I click button. No my code not worked. help me.
1 Votes