Basically what is the system level difference between language C and C++ ?

Recommended Answers

All 3 Replies

Basically what is the system level difference between language C and C++ ?

Could you give us an example of what you mean by system level.

Could you give us an example of what you mean by system level.

well the main difference is that c is a procedural language while c++ is an object oriented language.
C is like a predecessor of c++ with c++ having all functionalities of c along with more emphasis on data rather than just the functions
But i don't think you are looking for details on this.

On the machine level,all i can say is that c programs are executed faster than the similar c++ programs on the binary level.

>Basically what is the system level difference between language C and C++ ?
There are probably more systems with a C implementation than a C++ implementation, but aside from that the difference is nil.

>well the main difference is that c is a procedural
>language while c++ is an object oriented language.

C++ is not an object oriented language. It's a multi-paradigm language that supports object oriented programming.

>all i can say is that c programs are executed faster
>than the similar c++ programs on the binary level.

Perhaps if you intentionally write inefficient C++ code to fudge the comparison in favor of C. Unbiased comparisons on modern implementations show C++ to be very competitive (if not on equal grounds) with C in terms of performance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.