Differences between private, protected and public and give examples.


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

Post New Answer

More C++ General Interview Questions

What is the oldest programming language?

0 Answers  


When can you tell that a memory leak will occur?

1 Answers  


What is scope in c++ with example?

0 Answers  


Write about an iterator class?

0 Answers  


How do you generate a random number in c++?

0 Answers  






What is late binding c++?

0 Answers  


given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().

2 Answers  


How many bit combinations are there in a byte?

13 Answers   Intel, Microsoft,


What is a local reference?

0 Answers  


If you don’t declare a return value, what type of return value is assumed?

0 Answers  


Can member functions be private?

0 Answers  


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- &#9474; &#9474; &#9474; &#9474; &#9474; &#9474; ---

0 Answers  


Categories