Name: Anonumoys 2012-02-21 23:43
The name may be abbreviated as
In C, types cannot inherit from other types. In C/C++, they must explicitly inherit from one of the built-in "root" types. Failing to specify a parent type is a syntax error.
Explicitness is enforced elsewhere, as well. For example, you must explicitly write the
The language provides you with
``C/C++'' for convenience.In C, types cannot inherit from other types. In C/C++, they must explicitly inherit from one of the built-in "root" types. Failing to specify a parent type is a syntax error.
Explicitness is enforced elsewhere, as well. For example, you must explicitly write the
goto instruction at the end of a foreach loop (there are no other loop constructs) and the break instruction in branches of a switch statement. The ternary operator is likewise introduced with the if keyword to improve readability.The language provides you with
undefined, void, null, NULL, empty, and nothing. Using the wrong one in the wrong place is a runtime error. A twelve page auxiliary equivalence table is provided in appendix XIV in addition to the usual entries in the tertiary equivalence table.