answersLogoWhite

0


Best Answer

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

10y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

C++ is one of the most popular programming languages with application domains including systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as Video Games . C++ is also used for hardware design, where the design is initially described in C++, then analyzed, architecturally constrained, and scheduled to create aregister-transfer level hardware description language via high-level synthesis

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are main uses of c and c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the only function all C plus plus programs must contain?

Every C plus plus program that is a main program must have the function 'main'.


Can you call main in c plus plus?

Of course.


What are the main differences between Java and C plus plus?

the difference is that c plus is better because you get big grades


How many main functions are used in c plus plus program?

One.


Why is a main function used by Grady Booch in C plus plus?

All C++ programs require an entry point and the main function provides that entry point.


How do you write a programm in c plus plus without using function main?

I don't think its possible. Every C++ program must at least have the main function.


Which Program that will run in C but not in C plus plus?

void main() { int *x = malloc(sizeof(int) * 10); }


Main meaning of turbo c plus plus?

Name of a compiler (and IDE) from Borland.


Can you write C plus plus apps for both iphone and android?

The iPhone and Android phones both use their own languages for programming applications: the iPhone uses Objective - C, where Android uses Java.


What is a main function in c plus plus?

It is the first function that gets called when the program is executed.


What is diffence between c and c plus plus?

main difference b/w c and c++ is that c is procedural language whereas c++ is object oriented language also classes are not used in c but in c++ classes are used.


Which function must all C plus plus programs contain?

An entry point, usually main().