C - Language

C Language


What is c Language?

C is a powerful general-purpose programming language. It can be used for a wide range of applications from Operating systems like Windows and iOS to software that is used to create 3D movies.

Features of C Programming

A procedural language

C is a procedural language. This means instructions in the C program are executed step by step.

If you are interested to know how procedural language is different from other forms of programming language like object-oriented, visit differences between procedural and object-oriented languages.

C programs are fast

C programming allows programmers to directly manipulate computer hardware. This is one of the reasons why C programming is faster in processing than other new languages like Java, Python, etc.

Standard C programs are portable

Write once, compile everywhere. This means we can write a standard C program in one system (e.g. Windows) and compile it in another system (e.g. Mac OS) without any change.

Use of Modularity

C provides various standard libraries. Standard libraries are a section of C code that helps to perform different tasks.

For example, suppose you need to display something on the screen, you can include stdio.h library that allows you to use printf() function.

Statically typed language

C is a statically types language. This means the type of a variable is checked during the compile time but not in the run-time. Statically typed languages are faster than dynamically typed language in general.

General-purpose language

Despite being old, C is used in a variety of applications. For example,

  • Embedded Systems
  • Operating System - Windows, Linux, OSX, Android, iOS
  • Databases - PostgreSQL, Oracle, MySQL, MS SQL Server
  • Other Uses - Network drivers, Compilers, PrinOthert spoolers

Comments

Emotions
Copy and paste emojis inside comment box