what is the main difference between c and c++?
Answer Posted / jaimin patel
Topic for c:-
1.c is the top down approch.
2.c is the procedure oriented programming language.
3.in c we use as input funtion printf & scanf.
4.c dose not have a class and object.
5.in c we can not overload the function and operatore.
TOPIC FOR C++:-
1.C++ is the bottom to up approch language.
2.c++ is object oriented language.
3.in c++ we use as input function c0ut<< & cin>>.
4.c++ have a class and object.
5.in c++ we can overload a function and object.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you achieve runtime polymorphism?
what is different between oops and c++
What is difference between oop and pop?
What does and I oop mean?
What is polymorphism give a real life example?
What are the components of marker interface?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is object in oop with example?
What does and I oop and sksksk mean?
Explain virtual inheritance?
What is for loop and its syntax?
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
explain sub-type and sub class? atleast u have differ it into 4 points?
What is a superclass in oop?
What is balance factor?