C Tutorial
C Tutorial
C Tutorial
C Tutorial
C programming is a general-purpose, procedural, imperative computer
programming language developed in 1972 by Dennis M. Ritchie at the Bell Telephone
Laboratories to develop the UNIX operating system. C is the most widely used
computer language. It keeps fluctuating at number one scale of popularity along with
Java programming language, which is also equally popular and most widely used
among modern software programmers.
It is a structured programming language and you can use the skills learned in
C to master other programming languages.
You can use C program to write efficient codes and develop robust projects.
C is a low-level language and you can use it to interact more directly with the
computer's hardware and memory.
Facts about C
C is the most widely used and popular System Programming Language. Most of the
state-of-the-art software have been implemented using C. Here are some facts about
the C language:
https://www.tutorialspoint.com/cprogramming/index.htm 1/5
6/16/24, 10:54 AM C Tutorial
C was invented to write an operating system called UNIX. The UNIX OS was
totally written in C.
C is a successor of B language which was introduced around the early 1970s.
The language was formalized in 1988 by the American National Standard
Institute (ANSI).
#include <stdio.h>
int main() {
/* my first program in C */
printf("Hello, World! \n");
return 0;
}
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
https://www.tutorialspoint.com/cprogramming/index.htm 2/5
6/16/24, 10:54 AM C Tutorial
Language Interpreters
Utilities
Audience
This tutorial is designed for software programmers with a need to understand the C
programming language starting from scratch. This C tutorial will give you enough
understanding on C programming language from where you can take yourself to
higher level of expertise.
Prerequisites
Before proceeding with this tutorial, you should have a basic understanding of
Computer Programming terminologies. A basic understanding of any of the
programming languages will help you in understanding the C programming
concepts and move fast on the learning track.
FAQs on C Programming
There are some very Frequently Asked Questions(FAQ) about C, this section tries to
answer them briefly.
C programming came into being in 1972. After more than 5 decades, C is still one of
the most popular languages that ranks consistently in the top three. Since C can
directly interact with the hardware, it is primarily used in low-level applications such
as building operating systems, device drivers, embedded systems, networking etc.
Therefore, C programming skills are very much in demand, in this age also. One’s
career prospects will definitely brighter if he has a good proficiency in C
programming.
https://www.tutorialspoint.com/cprogramming/index.htm 3/5
6/16/24, 10:54 AM C Tutorial
https://www.tutorialspoint.com/cprogramming/index.htm 4/5
6/16/24, 10:54 AM C Tutorial
Every programming language has its own characteristic features and difference with
others. Here are some of the key points of difference between C and other
languages:
C is a compiled language, whereas programming languages like Python, Java and
JavaScript are interpreted languages.
C is a statically typed language. On the other hand, Python and JavaScript are
dynamically typed languages.
C is an imperative and procedural language. It doesn’t support classes and objects.
Modern languages are primarily object-oriented.
C doesn’t have automatic garbage collection mechanism, which is provided by many
other languages like Java and Python.
https://www.tutorialspoint.com/cprogramming/index.htm 5/5