what is the main difference between c and c++?
Answer Posted / sarath
c is a procedural programming and c++ is an object oriented
programming.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we need polymorphism in c#?
What are the data types in oop?
What is abstract class in oops?
What is inheritance in simple words?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Why do we use oop?
What is the difference between procedural programming and oops?
What is the purpose of polymorphism?
What is the diamond problem in inheritance?
What does and I oop mean?
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
What is difference between data abstraction and encapsulation?
what are the realtime excercises in C++?
What is destructor oops?
What are the advantages of polymorphism?