Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
why do we need to declare the function as virtual? is there any limit on number of derived members that can call the function if it's not virtual?
c++
polymorphism
2 Votes
2 Answers
14th Jul 2016, 4:34 AM
Rohit Ner
What is the need for using Constructor?Can'twe just initialize a data member in a method?
constructor
data
importance
java
members
methods
of
3 Votes
2 Answers
10th Nov 2018, 5:42 PM
Neelarghya Kundu
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
Hofstadter a sequence code coach is not running
0 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Vote Code
1 Votes
Input errors (python)
1 Votes
Whatâs the actual difference between MB and GB in real-world usage?
1 Votes
Without degree job
0 Votes
I wanna know is that what about dot net developers in future there is possible they gonna downfall in industry
0 Votes
Script file names
0 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
Html learn
1 Votes