+ 2
Why after c it is named as c++ language not c+ language?
4 Réponses
+ 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.
0
I'd assume because ++ is the increment (+1) operator, and C++ was supposed the '1-up' C, I guess.