C++ Public access specifier instead of Private – What is bad ?


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

Post New Answer

More C++ Interview Questions

When must you use a constructor initializer list?

0 Answers   Amazon,


Write a syntax and purpose of switch statement.

0 Answers   Agilent,


What is the difference between virtual functions and pure virtual functions?

1 Answers  


How does stack look in function calls? Write a recursive function call, how will the stack look like?

0 Answers   Adobe,


Difference between Call by pointer and by reference.

0 Answers   Adobe,


Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.

0 Answers   Alter,


How to generate random numbers in C++ with a range?

0 Answers  


Write a C++ Program to Find whether given Number is Odd or Even.

1 Answers  


Question on Copy constructor.

0 Answers   Alter,


Discuss about iteration statements in C++ .

0 Answers   Agilent,


What is Advantage and Use of THIS pointer in C++ – Scenarios?

0 Answers  


Can we call C++ OOPS? and Why

0 Answers  


Categories