Answer Posted / mangal
The c is purely procedure The c++ is purely object
oriented programming
language
oriented progeaming
language
This is the main difference between these 2
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
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 the types of inheritance?
What is persistence in oop?
What is the real life example of polymorphism?
What is polymorphism oop?
What is the point of oop?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is the problem with multiple inheritance?
What is balance factor?
What is class and object with example?
What is polymorphism and why is it important?
#include
When not to use object oriented programming?
what is the sylabus for priliminaries?
How many human genes are polymorphic?