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
When must you use a pointer rather than a reference?
Write a program to find the Fibonacci series recursively.
How do you declare A pointer to a function which receives nothing and returns nothing
Which sort does c++ use?
What are the basics of local (auto) objects?
Differentiate between realloc() and free().
What relational operators if statements in c++?
What is object in c++ wikipedia?
What is class definition in c++ ?
Explain this pointer?
Which programming language's unsatisfactory performance led to the discovery of c++?
Is turbo c++ free?
What is the history of c++?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
What are friend classes? What are advantages of using friend classes?