c++
C++ is a high-level, general-purpose programming language.
//totally not right there ----------------------------------->
c++
C++ is a high-level, general-purpose programming language.
//totally not right there ----------------------------------->
cpp language explained
#include <iostream>
using namespace std;
class BaseClass {
public:
void disp(){
cout<<"Function of Parent Class";
}
};
class DerivedClass: public BaseClass{
public:
void disp() {
cout<<"Function of Child Class";
}
};
int main() {
/* Reference of base class pointing to
* the object of child class.
*/
BaseClass obj = DerivedClass();
obj.disp();
return 0;
}
C++ language
C++ language is a direct descendant of C programming language with
additional features such as type checking, object oriented programming,
exception handling etc. It was developed by Bjarne Stroustrup.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us