difference between c and c++?
Answer Posted / sumanth
c is procedure oriented language and gives importance to
procedure that is functions rather than data.c is middle
level language.
c++ is object oriented language and gives importance to
object that is data
c++ is high level language
c++ havig extra benifits data can hide in the fuction
(encapsulation),polymorphism,templets,file
handeling,inharitance.
c is structured design,c++ is object oriented design
c is top-down approach,c++ is bottom-top approach
c++ is required acces specifiers,c is not required acces
specifiers
c++ is client server model
In c++,there is a new concept of "INLINE FUNCTIONS",
whereas in c, there are macros.
C++ is a object oriented language but C is not OOPS.
| Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
What do you mean by public protected and private in c++?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
How the virtual functions maintain the call up?
What is std :: flush?
What is meant by const_cast?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
Differentiate between declaration and definition.
Can member functions be private?
Should a constructor be public or private?
What is the role of static keyword for a class member variable?
What is the use of namespace std in C++?
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
Explain class invariant.
How does java differ from c and c++?
What is c++ namespace?