In C ++, the following restrictions do not exist in C:
1. The complete function prototype declaration is required, and the C language is not so strict.
2. In C ++, the name defined by typedef cannot conflict with an existing structure tag, but it is acceptable in C language.
3. When the void * pointer is assigned to another type pointer, C ++ requires forced type conversion, but not in C.
Features with different meanings in C ++ and C:
1. At least a dozen keywords are added to C ++.
2. In C ++, statements can appear anywhere in a statement. In C code blocks, all statements must appear before all statements.
3. In C ++, an internal domain structure or variable name hides the structure or variable name of the outer space. This is not true in C.
4. In C ++, the character constant type is Char, but in C language, the character constant type is int.
Of course, C ++ has added the object-oriented feature. This is the biggest difference from C.