what is the main difference between c and c++?
Answer Posted / jagan
c is a procedural programmiing language and c++ is object
oriented language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the benefit of oop?
What does and I oop and sksksk mean?
What is property in oops?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What does it mean when someone says I oop? What is the fundamental idea of oop? What is destructor oops? What is a function in oop? What are main features of oop? What is overriding in oop? When not to use object oriented programming? what is difference between class template and template class? What causes polymorphism? 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 Who invented oop?