Which of the following feature of OOPs is not used in the following C++ code? class A { int i; public void print() { cout<<"hello"<<i: } } class B: public A { int j; public: void assign(int a) {j= a; }}
Answers
Answered by
0
Answer:
C++ programming is a general purpose programming language that was created by Bjarne Stroustrup. It is essential to know C++ if you want to work in the software development domain. C++ is an extension of C programming language. The first set of questions and answers are curated for freshers and talks about the basic C++ questions. The blog will cover C++ Interview Questions for advanced levels, C++ programming interview questions, and more. These questions cover all the basics of C++ and will help showcase your expertise in the subject. The questions are divided into groups as follows.
Similar questions
Math,
3 months ago
Math,
3 months ago
Business Studies,
6 months ago
English,
6 months ago
Biology,
10 months ago
Political Science,
10 months ago
Science,
10 months ago