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
How do you achieve polymorphism?
What exactly is polymorphism?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Can you explain polymorphism?
How do you define a class in oop?
What are the features of oop?
What are the advantages of polymorphism?
What is balance factor?
How oops is better than procedural?
What is polymorphism what is it for and how is it used?
What is the example of polymorphism?
How Do you Code Composition and Aggregation in C++ ?
What is encapsulation in oop?
What is a superclass in oop?
What is oops in simple words?