C++ basic interview questions and answers pdf - 1
What is a class?
A class is a new way of creating and implementing a user defined data type.
Classes provide a method for packing together data of different types.
What are the two parts of a class specification?
A class specification has two parts:
Class function definitions
What is encapsulation?
The binding of data and functions together into a single entity is referred to as encapsulation.
What is mean by data hiding?
The members and functions declared under private are not accessible by members outside the class, this is referred to data hiding.
What does the following statement mean?
Void add :: show ()
The statement means that function show () is a member of the class add. And the function does not return any data type.
- C++ Interview Questions and Answers for Experienced
- Top 200+ C++ Interview Questions and Answers
- C++ Interview Questions and Answers for Freshers
- Advanced C++ Programming Interview Questions and Answers
- C++ Language Interview Questions for Experienced Pdf
- C++ Programs Asked in Interview for Freshers
- C++ Interview Questions and Answers Pdf
- C++ Language Interview Questions and Answers for Freshers Pdf
- C++ Questions and Answers
- Top 250+ C++ Constructor and Destructor Programming Interview Questions
- C++ basic interview questions and answers pdf
- C++ Programming Interview Questions and Answers
- C++ Technical Interview Questions and Answers
- Top 200+ Advanced C++ Interview Questions 2020-2021
- C++ Lab Viva-Practical Exams Questions and Answers
- C++ Coding Interview Questions and Answers
7000+ TNPSC Group 1, 2, 4, VAO Indian Economy Study Materials Pdf More
7000+ Gate Computer Science Engineering Previous Year Questions More
7000+ Fill in the Blanks with Suitable Homonyms More
7000+ Fill in the Blanks with Suitable Homophones More
Power Semiconductor Device and Integrated Circuits MCQ Questions Pdf More
101+ Tricky Rebus Puzzles with Answers More
100+ Interesting Biology Questions and Answers More
100+ Verbal Reasoning Classification Quiz questions More
Commonly Misspelled Words Quiz Questions More
Top 1000+ Computer Awareness MCQ More