Programing IN C++ : part 6
Programing IN C++ What is an explicit constructor? A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. Its purpose is reserved explicitly f…
Anic_an_engineer
Programing IN C++: part 5
Programing IN C++ What are the access privileges in C++ ? What is the default access level ? The access privileges in C++ are private, public and protected. The default access level assigned to members of a class is private. Private members of…
Anic_an_engineer
Programing IN C++ : part 4
Programing IN C++ What is a conversion constructor? A constructor that accepts one argument of a different type. The compiler uses this idiom as one way to infer conversion rules for a class. A constructor with more than one argument a…
Anic_an_engineer
Programing IN C++ : Part 3
Programing IN C++ Compare and contrast C and C++. Comparison: C++ is an extension to the C language. When C++ is used as a procedural language, there are only minor syntactical differences between them. Contrast: When used as a procedura…
Anic_an_engineer