answersLogoWhite

0

Why c language is powerful?

Updated: 8/11/2023
User Avatar

Wiki User

14y ago

Best Answer

C++ is general-purpose and portable, which is common to many high-level languages, but it excels in terms of performance, comparable to that of assembly language. This is not surprising given the amount of work that goes into optimising the native machine code that the C++ compiler produces.

Java is arguably more popular today (especially with amateur programmers), but it doesn't perform well when compared to C++. This is largely due to the much higher level of abstraction which requires compiled programs to be executed and interpreted by the Java virtual machine. The main advantage of Java is that the abstraction allows Java programs to be run on any platform that supports the JVM without the need to modify the source code and recompile, which is the main disadvantage of C++. However, in terms of performance alone, few languages can compete with C++, hence its huge popularity in the community.

User Avatar

Wiki User

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

Wiki User

8y ago

Any language that uses a compiler to generate the machine code is a compiled language. By contrast, interpreted languages generate the machine code at runtime. Some languages, like Java, are both compiled and interpreted; the source code is compiled to Java byte code which is then interpreted by the Java virtual machine at runtime.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

It shouldn't. C is one of the most difficult languages to learn and work with and should be the last language you learn (just before learning assembly in fact). Most new programmers start with some variant of BASIC before moving onto Java and then C++. At that point C becomes academic because we rarely need anything lower than C++. Nevertheless, the learning curve will be vastly reduced because you'll already be familiar with most of C through the low-level C-style coding that is part of C++. Indeed, if you learn C before learning C++, it just becomes that much harder to learn C++ because you'll habitually resort to writing low-level C-style code in the belief that it is somehow more efficient. C is not only less efficient than C++, it is laborious and prone to error. Just as there are few cases where we need to resort to low-level assembly language there are even fewer reasons to resort to C. It's best to think of C as being a tool for generating assembly language instructions that can then be manually tweaked if necessary, but you can also do that just as easily with C++.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

It is not the choice of all programmers. C is a compiled language which simply means that the source can be converted to a lower-level language. Typically we use C to produce machine code programs, however we can also produce an assembly language source. Although we don't need to do this very often, this gives us an opportunity to modify the assembly source before assembling the machine code. For instance, we might do this in order to take advantage of some hardware feature that is not yet implemented by the compiler, but as compiler implementations evolve the need to do so diminishes.

Just as the need to resort to assembly language diminishes as C compilers improve, the need to resort to C also diminishes as other high-level language compilers improve. C++ is a case in point as it was specifically designed such that we rarely need anything lower than C++. However, we can never eliminate these lower level languages entirely because hardware is constantly evolving and it's always much easier to implement these new features in the lower level languages first. We may still use C++ for the bulk of our machine-code programming, but we still occasionally need to dip our toes in C and/or assembly language in order to produce optimal solutions. Those solutions (or rather the methods that produce them) will eventually filter down to the higher-level languages, but there are always new solutions to discover, so the need for C and assembly language never really diminishes, they simply find new problems to solve. And so long as hardware continues to evolve, there will always be new problems to solve.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Because it was designed by good programmers for good programmers. Of course it still has many weaknesses like the zero-terminated string.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

C is almost unlimited in what you can do, and is arguably the lowest, high level language.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Because it is compatible with all OS,And most of the machines..it has got easiest logic

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why c language is powerful?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which computer language more use in IT field?

C Sharp (C#) .Net Because its so powerful


What is mean by robust language in c language?

Robust means strong enough to withstand or overcome intellectual challenges or adversity. c is a robust language because its rich set of built-in functions and operators can be used to write any complex logic program.


What is a feature in c that is not in c plus?

C is a structured programming language which is feature of C which made it a powerful language when it was new in market. But after C++ was developed structured programming was considered as disadvantage due to development of Object Oriented Programming Language.


Why c language has name c why not a?

C-language was derived from B-language.


What is previous language of c language?

language before c language is pascal


What is C language what does it do?

C Language is First Step of Programming Language, Help for C Language you are show the correct answer


Why are dbms bundled with powerful programming language modules?

DBMSs are usually bundled with powerful programming language modules. why


Which is the Powerful Programming Language between C Sharp and VB.NET?

C#.NET and VB.NET are Turing-equivalent; anything that can be done in one language can be done in the other. Moreover, their syntactic structures are very similar, so the same modes of thinking apply to programming in either language. C# is considered a more austere and elegant language, while VB, which relies less on punctuation, is sometimes considered easier to read.


What is the topNet class that everything is derived from in c?

C language: int (but C is NOT a .net language) C# language: object or System.Object


How do you say the word powerful in the Spanish language?

A powerful person is Poderoso/a


What is versions of c language?

versions of c language?


What do you mean by c language?

C is a programming language.