C language


C is a powerful general-purpose programming language. It can be used to develop software like operating systems, databases, compilers, and so on. C programming is an excellent language to learn to program for beginners.

Choose the Topic which you want to read:-


About C Programming

  • Procedural Language - procedural language means computer programming language that follows, in order, a set of commands. Instructions in a C program are executed step by step.
  • Portable - You can move C programs from one platform to another, and run it without any or minimal changes.
  • Speed - Programs written and compiled in C executes much faster than compared to any other programming language. C programming language is very fast in terms of execution as it does not have any additional processing overheads such as garbage collection or preventing memory leaks etc. 
  • General Purpose - C programming can be used to develop operating systems, embedded systems, databases, and so on.

Why Learn C Programming?

  • C helps you to understand the internal architecture of a computer, how computer stores and retrieves information.
  • After learning C, it will be much easier to learn other programming languages like Java, Python, etc.
  • Opportunity to work on open source projects. Some of the largest open-source projects such as Linux kernel, Python interpreter, SQLite database, etc. are written in C programming.

How 'C' Works?

C is a compile/ procedural language. A compiler is a special tool that compiles the program and converts it into the object file which is machine readable. After the compilation process, the linker will combine different object files and creates a single executable file to run the program. The following diagram shows the execution of a 'C' program


Nowadays, various compilers are available online, and you can use any of those compilers. The functionality will never differ and most of the compilers will provide the features required to execute both 'C' and 'C++' programs.

Summary

  • 'C' was developed by Dennis Ritchie in 1972.
  • It is a robust language.
  • It is a low programming level language close to machine language
  • It is widely used in the software development field.
  • It is a procedure and structure oriented language.
  • It has the full support of various operating systems and hardware platforms.
  • Many compilers are available for executing programs written in 'C' like turbo c,Clang compiler, portable 'c' compiler, etc...
  • A compiler compiles the source file and generates an object file.
  • It is highly portable.

 

Post a Comment

0 Comments