what is the main difference between c and c++?

Answer Posted / radha garg

c is structure level and difficult to use ...........bt c
is on object based and easy to use

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

c++ program to swap the objects of two different classes

1759


Why do we use oops?

589


What exactly is polymorphism?

600


What is overloading in oops?

596


What are the features of oop?

632






What is the difference between encapsulation and polymorphism?

590


What is inheritance write a program to show use of inheritance?

611


explain sub-type and sub class? atleast u have differ it into 4 points?

1830


What is polymorphism and its types?

591


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

1696


what is difference between class template and template class?

2157


what are the different types of qualifier in java?

1837


What is polymorphism used for?

566


Why do we use inheritance?

628


Can private class be inherited?

615