what is the main difference between c and c++?
Answer Posted / manjula
1.C TOP DOWN(RUN) APPROACH....
2.C++ BOTTOM UP(RUN) APPROACH...
3.C++ SUPPORT FUNCTION OVERLOADING & OPERATOR OVERLOADING..
4.C DOES NOT SUPPORT FUNCTION OVER LOADING,OPERATOR OVER
LOADING..
5.IN C VARIABLE ARE DECLARED IN DECLARATION PART.
6.IN C++ VARIABLES ARE DECLARED AND IN ANY WHERE IN
PROGRAM.ALSO USED IN DYNAMIC INITIALIZATION...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a constructor and a destructor?
What is object and example?
What is balance factor?
Why interface is used?
What is oops concept with example?
What is difference between data abstraction and encapsulation?
What is inheritance in simple words?
What is the difference between abstraction and polymorphism?
What is the fundamental idea of oop?
What are the components of marker interface?
What is protected in oop?
What is oops?what is its use in software engineering?
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
Prepare me a program for the animation of train
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.