C Programming Language

What is C?

C is a general-purpose, procedural, imperative high level language that was originally developed by Dennis Ritchie for the Unix operating system. It was first implemented on the Digital Equipment Corporation PDP-11 computer in 1972. The Unix operating system and virtually all Unix applications are written in the C language.

A C program can vary from 3 lines to millions of lines and it should be written into one or more text files with extension ".c"; for example, "hello.c". You can use "vi""vim" or any other text editor to write your C program into a file.



Why to Learn C Programming?

C programming language is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Software Development Domain. I will list down some of the key advantages of learning C Programming:

  • Easy to learn

  • Structured language

  • It produces efficient programs

  • It can handle low-level activities

  • It can be compiled on a variety of computer platform

Syntax of C Programming

Just to give you a little excitement about C programming, I'm going to give you a small conventional C Programming Hello World program, You can try it by using different software like "TurboC/C++", "DevC++", etc or from online compilers that are available for free like "Programiz" , "Onlinegdb", etc.

Syntax:-

#include<stdio.h>

#include<conio.h>

void main()

{

    clrscr();

    printf("Hello! My name is Arnit");

    getch();

}

If your are using a software save it with ".c" or for online just click on the "run" button and the program will execute.




Applications of C Programming

C was initially used for system development work, particularly the programs that make-up the operating system. C was adopted as a system development language because it produces code that runs nearly as fast as the code written in assembly language. Some examples of the use of C are -

  • Operating Systems
  • Language Compilers
  • Assemblers
  • Text Editors
  • Print Spoolers
  • Network Drivers
  • Modern Programs
  • Databases
  • Language Interpreters
  • Utilities



Please comment and also suggest me topics:-


Comments

Popular posts from this blog

Python Programming Language