LERAN C PROGRAMMING

Learn one of the most powerful programming languages in the world and become a rockstar developer.

Introduction to C


Best website to learn C Programming

C is a powerful general-purpose programming language. It is fast, portable and available in all platforms.

If you are new to programming, C is a good choice to start your programming journey.

This is a comprehensive guide on how to get started in C programming language, why you should learn it and how you can learn it.

What is C Programming?

Before getting started with C programming, lets get familiarized with the language first.

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

C programming is highly efficient. That’s the main reason why it’s very popular despite being more than 40 years old.

Standard C programs are portable. The source code written in one system works in another operating system without any change.

As mentioned, it’s a good language to start learning programming. If you know C programming, you will not just understand how your program works, but will also be able to create a mental picture on how a computer works.

History of C Language

History of C language is interesting to know. Here we are going to discuss a brief history of the c language.

C programming language was developed in 1972 by Dennis Ritchie at bell laboratories of AT&T (American Telephone & Telegraph), located in the U.S.A.

Dennis Ritchie is known as the founder of the c language.

It was developed to overcome the problems of previous languages such as B, BCPL, etc.

Initially, C language was developed to be used in UNIX operating system. It inherits many features of previous languages such as B and BCPL.

Let's see the programming languages that were developed before C language.

Language Year Developed By
Algol 1960 International Group
BCPL 1967 Martin Richard
B 1970 Ken Thompson
Traditional C 1972 Dennis Ritchie
K & R C 1978 Kernighan & Dennis Ritchie
ANSI C 1989 ANSI Committee
ANSI/ISO C 1990 ISO Committee
C99 1999 Standardization Committee

Feature of C Programming

  • It is a robust language with rich set of built-in functions and operators that can be used to write any complex program.
  • The C compiler combines the capabilities of an assembly language with features of a high-level language.
  • Programs Written in C are efficient and fast. This is due to its variety of data type and powerful operators.
  • It is many time faster than BASIC.
  • C is highly portable this means that programs once written can be run on another machines with little or no modification.
  • Another important feature of C program, is its ability to extend itself.
  • A C program is basically a collection of functions that are supported by C library. We can also create our own function and add it to C library.
  • C language is the most widely used language in operating systems and embedded system development today.

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

First C Program

Before starting the abcd of C language, you need to learn how to write, compile and run the first c program.

To write the first c program, open the C console and write the following code:

#include <stdio.h>
                            
int main(){
    printf("Hello World"); 
    return 0; 
}

#include <stdio.h> includes the standard input output library functions. The printf() function is defined in stdio.h .



Previous Next
x
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Privacy Policy That's Fine