what is the main difference between c and c++?
Answer Posted / sameer
->C is a procedural programing language and c++ is a object
oriented programing language.
->C does not allow operator and function overloading.
C++ can allows function and operator overloading
| Is This Answer Correct ? | 1 Yes | 3 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 a class oop?
What is a function in oop?
Which method cannot be overridden?
Explain virtual inheritance?
Templates mean
What are the components of marker interface?
What do you mean by abstraction?
Explain the advantages of inheritance.
Is react oop?
Which type does string inherit from?
Can destructor be overloaded?
write knight tour problem which is present in datastructure
What are properties in oop?
Get me an image implementation program.