what are the disadvantages of C++?
Answer Posted / meet
There is not so strict/strong type checking in C++ like Java & C#. Pointers can be easily be misused. Dynamic memory management is error-prone because the lack of automatic garbage collection like Java & C#. There isn't bound checking on arrays. Friend functions & friend classes can be misused.
Supports stack allocated objects so results in memory wastage but provides runtime efficiency.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is oops?what is its use in software engineering?
what is the sylabus for priliminaries?
What is the fundamental idea of oop?
What is pointer in oop?
What is destructor give example?
What are the 3 principles of oop?
to find out the minimum of two integer number of two different classes using friend function
What are objects in oop?
Why is destructor used?
What causes polymorphism?
Who invented oop?
Why do we use oops?
What is the types of inheritance?
Write a program to sort the number with different sorts in one program ??