+ 2

Why after c it is named as c++ language not c+ language?

21st Dec 2017, 2:11 AM
katiboyina Manoj
katiboyina Manoj - avatar
4 Answers
+ 3
C has a postfix increment operator (++). The effect of applying the postfix increment operator is that the operand's value is increased by one unit of the appropriate type. It is important to note that a postfix increment expression evaluates to the value of the expression prior toapplication of the operator. The increment operation occurs afterthe operand is evaluated. Thus, C++ actually means it has most of the properties of C but is one step ahead of it.
21st Dec 2017, 2:16 AM
katiboyina Manoj
katiboyina Manoj - avatar
0
I'd assume because ++ is the increment (+1) operator, and C++ was supposed the '1-up' C, I guess.
21st Dec 2017, 2:12 AM
LunarCoffee
LunarCoffee - avatar