what is the main difference between c and c++?
Answer Posted / vishu
c is procedure oriented programming while c++ is object oriented programming,in c we use top to bottom approach and in c++ we use bottom to up approach
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use oop?
What is constructor in oop?
Is html an oop?
Why interface is used?
What is encapsulation and abstraction? How are they implemented in C++?
What does I oop mean?
What is oops in simple words?
What are classes oop?
What are oops functions?
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 are objects in oop?
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
How many human genes are polymorphic?
What is the diamond problem in inheritance?
What is difference between oop and pop?