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

"How will you merge these two arrays? Write the program Array: A 1 18 22 43 Array: B 3 4 6 20 34 46 55 Output Array: C 1 3 4 6 18 20 22 34 43 46 55"

9 Answers   College School Exams Tests, HCL,


What are the unique features of C++.

0 Answers  


Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?

6 Answers   CSC,


Why is c++ called oops?

0 Answers  


What are the 4 types of library?

0 Answers  






Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].

0 Answers  


What is the difference between operator new and the new operator?

3 Answers   Amazon, TCS, Wipro,


Which coding certification is best?

0 Answers  


Differentiate between realloc() and free().

0 Answers  


What is the best c++ book?

0 Answers  


What does the nocreate and noreplace flag ensure when they are used for opening a file?

0 Answers  


How to defines the function in c++?

0 Answers  


Categories