What are the weaknesses of C++?
Answer / nashiinformaticssolutions
• Its high learning curve: C++ is a difficult programming language for novice developers to learn.
• Security: C++'s use of pointers and global variables presents a comparatively significant security risk.
• Memory management: Allocating memory manually can take a lot of time.
• Pointers: If used improperly, pointers' complexity will cause performance issues.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between #define debug 0 and #undef debug?
What is the use of register keyword with the variables?
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is volatile and pragma? When they are used?
What happens when you make call 'delete this;'?
What are function poinetrs? where are they used?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
What do c++ programmers do?
What is the role of copy constructor in copying of thrown objects?
Is it possible for the objects to read and write themselves?
What happens if a pointer is deleted twice?
What is the purpose of extern storage specifier?