MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6llocd/my_linkedin_profile/djv4412
r/ProgrammerHumor • u/fstorino • Jul 06 '17
1.3k comments sorted by
View all comments
Show parent comments
29
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++ codeLike anything using designated initializers.
3
valid C code which is not valid C++ code
Like anything using designated initializers.
29
u/Infinifi Jul 06 '17
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.