what is the main difference between c and c++?
Answer Posted / balakrishna
c is a procedure oriented program.where as c++ is a object
oriented program.c++ is advanced of c.some draw backs in c
are rectified and introduced in c++.in c++ we use mostly
classes.in c the variables are used in program are used by
any function in the program so there is no security in
c.where as in c++ our data is secured by declaring private.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Get me an image implementation program.
What is class and object with example?
What are the data types in oop?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is overloading in oop?
What is debug class?what is trace class? What differences are between them? With examples.
What do you mean by Encapsulation?
any one please tell me the purpose of operator overloading
What is polymorphism programming?
Can you explain polymorphism?
What are functions in oop?
What are the benefits of polymorphism?
What is interface in oop?
Can enum be null?
Why is static class not inherited?