what is difference between program c and c++
Answers
Answered by
1
the answer in pic that is
Attachments:
yuvrajkurmi:
thanks for the help
Answered by
1
hey!!!
here's your answer!!
______❤_____❤______❤
The major difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language.............
some more differences are
C does not have namespaces (namespaces are used to avoid name collisions).
The I/O functions are entirely different in C and C++(ex: printf( ), scanf() etc. are part of the C language).
You cannot overload a function in C (i.e. you cannot have 2 functions with the same name in C).
Better dynamic memory management operators are available in C++.
C does not have reference variables (in C++ reference variables are used in functions).
In C constants are defined as macros (in C++ we can make use of ‘const’ to declare a constant).
Inline functions are not available in C....
here's your answer!!
______❤_____❤______❤
The major difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language.............
some more differences are
C does not have namespaces (namespaces are used to avoid name collisions).
The I/O functions are entirely different in C and C++(ex: printf( ), scanf() etc. are part of the C language).
You cannot overload a function in C (i.e. you cannot have 2 functions with the same name in C).
Better dynamic memory management operators are available in C++.
C does not have reference variables (in C++ reference variables are used in functions).
In C constants are defined as macros (in C++ we can make use of ‘const’ to declare a constant).
Inline functions are not available in C....
Similar questions