• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

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
Rohit Ner - avatar
What is the need for using Constructor?Can'twe just initialize a data member in a method?
constructordataimportancejavamembersmethodsof
3 Votes
2 Answers
10th Nov 2018, 5:42 PM
Neelarghya Kundu
Neelarghya Kundu - avatar
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
Lekhraj Singh - avatar
scope resolution operator
c++classesconstructorsfunctionsmembersoperatorsscope
1 Vote
2 Answers
16th Nov 2016, 1:36 PM
Tony Robinson
Tony Robinson - avatar
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
Soutik - avatar
< Previous1...34Next >
Hot today
Hello can anyone help me to learn gdscript
0 Votes
What coding language should i use to make a custom coding language?
0 Votes
Anyone Learning Godot?
1 Votes
hello world i need help
2 Votes
Any easy game ideas for beginners?
0 Votes
Which is more important CSS vs HTML vs JS?
1 Votes
How many courses are there on Sololearn
1 Votes
help string permutation
0 Votes
hi
1 Votes
Which databases are the best at injecting dynamic data within websites, and how can you achieve it?
0 Votes