What is the difference between public and private data members?


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

Post New Answer

More C++ General Interview Questions

What is the main purpose of c++?

0 Answers  


What is singleton pattern in c++?

0 Answers  


Explain one method to process an entire string as one unit?

0 Answers  


What is overloading unary operator?

0 Answers  


Explain the uses oof nested class?

0 Answers  






Explain what you mean by a pointer.

0 Answers   TCS,


Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.

0 Answers   Maxobiz,


What are the different types of polymorphism in c++?

0 Answers  


Why is polymorphism useful?

0 Answers  


Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .

0 Answers  


What is an overflow error?

0 Answers  


What is the use of namespace std in C++?

0 Answers   Hexaware,


Categories