what is the main difference between c and c++?
Answer Posted / kalyan
1) C is structured programming language , where as C++ is
Object Oriented programming language.
2) In C we declaration at begging of program,where as in c++
any where in program.
3) C has only 32 keywords ,where C++ 32 keywords pules
Public,private,protected,class.
4) C not support Exception Handling,where as C++ support
exception handling.
5) In C global variable and local variable are not
differentiate , where as in C++ differentiate using
Scope Resulation (::) operator .
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
any one please tell me the purpose of operator overloading
Why do we use encapsulation in oops?
What are the 3 principles of oop?
What is the difference between encapsulation and polymorphism?
What is class and object with example?
Can destructor be overloaded?
Why do pointers exist?
What is purpose of inheritance?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
what are the ways in which a constructors can be called?
What is difference between data abstraction and encapsulation?
What causes polymorphism?
What do you mean by variable?
What is byval and byref? What are differences between them?
What are the benefits of oop?