Question:

C++ language is a successor to which language ?

Show Hint

The lineage is: BCPL → B→ C → C++. C++ was designed to be a "better C".
  • B
  • C
  • Java
  • VB
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Recall the history of \( \texttt{C++} \).
\( \texttt{C++} \) was developed by Bjarne Stroustrup starting in 1979. His goal was to add object-oriented programming features to the C language.

Step 2: Understand the name “\( \texttt{C++} \)”.
The name itself is a programmer’s joke. The \( \texttt{++} \) operator in C is the increment operator, which adds one to a variable. So, “\( \texttt{C++} \)” implies that it is the next step up from C, or “C with additions.” It was initially called “C with Classes.”

Was this answer helpful?
0
0