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 overriding?
What is overloading and its types?
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’.
i hav very low percentage in 12th n BSCwhich is around 50.......coz it was just imposed on me 2 b a science graduate,nw m doin MCA n hav aggregate 74% ....what shud i answer if company's HR ask me about dis much low previous percentage??????
what is namespace? what are the uses of namespace?
write a program that takes input in digits and display the result in words from 1 to 1000
What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?
What are constructors in oop?
why c++ is a highlevel language
3 Answers Satyam, Tech Mahindra,
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output
What is static in oop?
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)