what is the main difference between c and c++?
Answer Posted / ramya
ABOUT (C)
-> C is a structured programming language.
-> C IS OBJECT based program that means C is also a object based application like structure and unions.
-> C does not support the C++ program.
-> C is a top to bottom programing.
->We can not do programs with the help of class, but programs through structure.
ABOUT(C++)
-> C++ is object oriented language that means entire application will be depending on object only.
-> C++ is the advance version of C.
-> C++ is a bottom to top programing.
->C++ support the C program.
->we can do programming through class in C++.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
c++ program to swap the objects of two different classes
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
any one please tell me the purpose of operator overloading
What is difference between oop and pop?
Why is polymorphism used?
What is destructor example?
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 abstract class in oops?
Get me an image implementation program.
What is destructor oops?
• What are the desirable attributes for memory managment?
Why do pointers exist?
What do you mean by abstraction?
What is the difference between procedural programming and oops?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).