Page 6 - Difference Between C and C++
P. 6
C c++
C does not allow In C++, functions
functions to be defined can be used inside a
inside structures. structure.
C does not have C++ uses NAMESPACE
NAMESPACE feature. which avoid collisions.
In C In C++
scanf() Function used for Cin>> Function used for
Input. Input.
printf() Function used for Cout<< Function used for
output. output.

