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
Why do we need oop?
Who invented oop?
What is overloading and its types?
officer say me - i am offered to a smoking , then what can you say
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Why is oop useful?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
How to hide the base class functionality in Inheritance?
Why is there no multiple inheritance?
What is destructor example?
How do you define social class?
What are the 5 oop principles?
any one please tell me the purpose of operator overloading
Explain the concepts involved in Object Oriented programming.
What is the real life example of polymorphism?