Uploaded on May 25, 2021
PPT on A Brief Guide on C Programming Language.
A Brief Guide on C Programming Language.
A BRIEF GUIDE ON C PROGRAMMING
LANGUAGE
Introduction to C
C is probably the most widely known
programming language.
It is used as the reference language for
computer science courses all over the world, and
it's probably the language that people learn the
most in school along with Python and Java.
Source: www.freecodecamp.org
About C Programming
Procedural Language - 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.
Source: www.programiz.com
About C Programming
cont.
Speed - C programming is faster than most
programming languages like Java, Python, etc.
General Purpose - C programming can be used
to develop operating systems, embedded
systems, databases, and so on.
Source: www.programiz.com
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.
Source: www.programiz.com
History of C language
C language has evolved from three different
structured language ALGOL, BCPL and B
Language.
In 1988, the language was formalised by
American National Standard Institute(ANSI).
In 1990, a version of C language was approved
by the International Standard Organisation(ISO)
and that version of C is also referred to as C89.
Source: www.programiz.com
Facts about C
C was invented to write an operating system
called UNIX.
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).
Source: www. tutorialspoint.com
Facts about C cont.
The UNIX OS was totally written in C.
Today C is the most widely used and popular
System Programming Language.
Most of the state-of-the-art software have been
implemented using C.
Today's most popular Linux OS and RDBMS
MySQL have been written in C.
Source: www. tutorialspoint.com
C Programs
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.
Source: www. tutorialspoint.com
Local Environment Setup
If you want to set up your environment for C
programming language, you need the following
two software tools available on your computer,
(a) Text Editor and (b) The C Compiler.
Source: www. tutorialspoint.com
The C Compiler
The source code written in source file is the
human readable source for your program.
It needs to be "compiled", into machine
language so that your CPU can execute the
program as per the instructions given.
Source: www. tutorialspoint.com
Comments