what is the main difference between c and c++?
Answer Posted / neetesh
C++ supports Data hiding whereas C does not thats why data in C++ much secure than C....
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Explain the concepts involved in Object Oriented programming.
What are the 5 oop principles?
What is abstraction oop?
Can you inherit a private class?
Why is destructor used?
What is stream in oop?
write a C++ program for booking using constructor and destructor.
What is an example of genetic polymorphism?
What is difference between data abstraction and encapsulation?
What is the fundamental idea of 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
How do you explain polymorphism?
What is the benefit of oop?
Which type does string inherit from?