When we already have C language then why C++?

How C++ eliminate the limitation felt while developing in C language?

  • Adesh
  • 15 जुलाई
  • 4899 दृश्य
  • 6 उत्तर
Your Answer

C++ is object oriented whereas C is not
 C is not a secure programming language by any stretch of the imagination; no bounds checking on arrays leads to lots of exploitable behavior (be it through the now-dead gets function, or through scanf with the %s and %[ conversion specifiers). C++ at least gives you containers that throw exceptions if you try to access outside their currently defined range; all C gives you is (if you're lucky) a segmentation violation.

0
c plus plus programming
मॉक परीक्षण अभ्यास के लिए
c plus plus programming