what is the main difference between c and c++?
Answer Posted / debakanta rout
Actually c is a procedural programming language which
cann't face the real world problem. It has some drawback
like a global data is shared by all function and if in a
large program it is find out difficult that which function
uses which data.
On the other hand c++ is an object oriented programming
language which eliminate some pitfall of conventional or
procedural programming language. It is a concept or
approach for designing a new software. It is nothing to do
with any programming language although a programming
language which support the oops concept to make it easier
to implement.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
to find out the minimum of two integer number of two different classes using friend function
Can a destructor be called directly?
which feature are not hold visual basic of oop?
What are properties in oop?
What is the use of oops?
Is data hiding and abstraction same?
Why is polymorphism needed?
What does sksksk mean in text slang?
What is multilevel inheritance explain with example?
What is the types of inheritance?
What is abstract class in oops?
What is solid in oops?
What is the advantage of oop over procedural language?
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