what are the disadvantages of C++?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prasad
Allocation and deallocation of memory is responsible for programmer but java overcome it by JVM
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / m.oqbal
in c++ the pointer is complicated the concept of oop.
in c++ there is no bound checking by default.
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / bob
I think, the main disadvantage of C++ is that there is a
crowd of uncompetent people who doesn't know about this
language anything (as well as about key concepts of software
develoment, like OOP). Think twice before post bullshit.
Cheers.
Is This Answer Correct ? | 3 Yes | 5 No |
Answer / saidulu
c++ is approching from top to down when we executing the
program from main method.
without using single class and object we can write the
program from c++
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / sonia
it is suitable for large and complex programs only not for
small programs and also dynamic binding is the major
disadvantage if c++.it is very difficult to understand flow
of control during execution of complex programs.dangling
pointer is another situation which can give wrong output.
Is This Answer Correct ? | 3 Yes | 7 No |
Answer / akshay
C++ is not network based. Softwares in C++ cannot be shared among people at different locations.
Is This Answer Correct ? | 2 Yes | 6 No |
Answer / nishanth
Hello i am not an expert in c++,but i am a student of computer science and our c++.
I think lack of arangement is the problem of this oop language
Is This Answer Correct ? | 0 Yes | 4 No |
Why u change company?
What is Agile methodology?
20 Answers ABC, Accenture, College School Exams Tests, Inmar, Microsoft, Sapient,
Why a "operator=(...)" when there is a copy ctor?
What is memory leak and memory corruption?
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)
When you define a integer it gets stored in which data structure?(Stack or a heap)
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
Who invented oop?
What does enum stand for?
What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined
what are the uses of C++
Is abstract thinking intelligence?