What is the default access level?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.

5 Answers   Quark,


Why is c++ still popular?

0 Answers  


When are exception objects created?

0 Answers  


When volatile can be used?

3 Answers   Symphony,


Difference between delete and delete[]?

5 Answers   Infosys, TCS, Virtusa,


what is the C++

1 Answers   Wipro,


What is the best free c++ compiler for windows?

0 Answers  


What is pointer -to-members in C++? Give their syntax?

0 Answers   Honeywell, Zomato,


How to avoid a class from instantiation?

8 Answers   Symphony,


How to avoid changing constant values?

2 Answers   Symphony,


Why c++ is better than c language?

0 Answers  


How much maximum can you allocate in a single call to malloc()?

0 Answers  


Categories