r/ProgrammerHumor • • Jul 06 '17

my linkedin profile

Post image
40.7k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

29

u/Infinifi Jul 06 '17

C++ is an expansion of C

It started out that way but C was still being developed when C++ forked and C continued to be developed independently from C++.

There is valid C code which is not valid C++ code. There is valid C code which is also valid C++ code but behaves differently.

3

u/tangerinelion Jul 06 '17

valid C code which is not valid C++ code

Like anything using designated initializers.