difference between c and c++?
Answer Posted / munish kumar
Main difference between c and c++ are:
1.) In c++, there is strict typechecking and in c, there is
no strict typechecking. So, many programes which can
compiled by c compiler cannot be compiled by c++ compiler.
2.) In c, there is only "EARLY BINDING", whereas in c++,
there are "EARLY BINDING & LATE BINDING".
3.)C++ IS HIGH LEVEL LANGUAGE BUT 'C' IS LOW LEVEL LANGUAGE.
4.)In c++,there is a new concept of "INLINE FUNCTIONS",
whereas in c, there are macros.
5.)C++ is a object oriented language but C is not OOPS.
| Is This Answer Correct ? | 58 Yes | 19 No |
Post New Answer View All Answers
What is class and structure in c++?
Is c++ a software?
How long will it take to learn programming?
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
what is pre-processor in C++?
What is the use of register keyword with the variables?
Explain selection sorting?
What is & in c++ function?
what are the iterator and generic algorithms.
Is c++ built on c?
What is purpose of new operator?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
What is the best way to take screenshots of a window with c++ in windows?
What is ios in c++?
What is DlgProc?