what is the main difference between c and c++?
Answer Posted / anusha
the main difference between c and c++ is portability
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the benefit of oop?
What is abstract class in oops?
What is oops concept with example?
What is protected in oop?
What is persistence in oop?
What is object in oops?
#include
Can abstract class have normal methods?
What is byval and byref? What are differences between them?
What is the point of polymorphism?
What is solid in oops?
Why is polymorphism important in oop?
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 the benefits of oop?
What is ambiguity in inheritance?