Answer Posted / guest
c is procedure oriented programming language whereas c++ is
a object oriented language.
| Is This Answer Correct ? | 0 Yes | 0 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 overriding in oop?
What do you mean by variable?
What is solid in oops?
What is a class and object?
What is the difference between static polymorphism and dynamic polymorphism?
What is the difference between inheritance and polymorphism?
What is data binding in oops?
What is oops and its features?
officer say me - i am offered to a smoking , then what can you say
what are the ways in which a constructors can be called?
What is class and object with example?
What is polymorphism oop?
What is encapsulation example?
Why is encapsulation used?