Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une 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 Réponses
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 Réponses
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 Vote
3 Réponses
25th Aug 2016, 3:28 AM
Lekhraj Singh
scope resolution operator
c++
classes
constructors
functions
members
operators
scope
1 Vote
2 Réponses
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 Réponses
9th Sep 2016, 10:09 AM
Soutik
Poser une question
Poser une question
< Précédent
1
...
3
4
Suivant >
Aujourd'hui en vedette
Ai generated practices
2 Votes
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
1 Votes
Solving coding challenges
2 Votes
Changing String Variables into int in C++
0 Votes
I am new
1 Votes
Fill in the blank to declare a static variable.
0 Votes
Advertising in Sololearn
0 Votes
Programming Language
0 Votes
RUST'S FUTURE
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes