answersLogoWhite

0

The primary use of C is to write efficient, cross-platform, procedural code. It is much easier to write cross-platform machine code using C than it is to use assembly, since C also permits procedure calls and structured programming. C is regarded as a mid-level language, giving the benefits of low-level coding combined with high-level abstraction.

The primary use of C++ is to write efficient, cross-platform, object-oriented code. Object-oriented programming extends structured programming allowing highly-complex data to be modelled far more easily and more robustly than with structured languages. Since C++ evolved from C, you also gain the benefit of using C-style coding when required.

C is an excellent language for writing low-level code that would otherwise be written in assembly. This includes device drivers and operating system components. Major applications are typically written in C++.

User Avatar

Wiki User

11y ago

What else can I help you with?