what is the main difference between c and c++?
Answer Posted / sameer
->C is a procedural programing language and c++ is a object
oriented programing language.
->C does not allow operator and function overloading.
C++ can allows function and operator overloading
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Why is abstraction used?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Which is not an object oriented programming language?
How do you use inheritance in unity?
Can an interface inherit a class?
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 the benefit of oop?
Can abstract class have normal methods?
Why oops is important?
What are benefits of oop?
State what is encapsulation and friend function?
What is a null tree?
Why is there no multiple inheritance?
What are the benefits of polymorphism?
What is abstraction in oop?