pdf c programming language.pdf

VineethReddy560178 148 views 22 slides May 07, 2022
Slide 1
Slide 1 of 22
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22

About This Presentation

C is a high-level and general-purpose programming language that is ideal for developing firmware or portable applications. Originally intended for writing system software, C was developed at Bell Labs by Dennis Ritchie for the Unix Operating System in the early 1970s.


Slide Content

C Programming
Language
Tutorial
LEARN
ANYTHING -ANYTIME -ANYWHERE

2
C programming

C Programming
C programming is considered as the base for
other programming languages, that is why it
is known as mother language.
It can be defined by the following ways:
▹Mother language
▹System programming language
▹Procedure-oriented programming
language
▹Structured programming language
▹Mid-level programming language
3

4

6
CTutorial
C HOMEC IntroCGet
StartedCSyntaxC
OutputCCommentsC
VariablesCData
TypesCConstantsC
OperatorsCIf...ElseC
SwitchCWhile LoopC
For LoopC
Break/ContinueC
ArraysCStringsCUser
InputCMemory
AddressCPointers
CFunctions
C FunctionsCFunction
ParametersCFunction
DeclarationC
RecursionCMath
Functions


▹C Hand on projects by us
An interview preparation Also Free
by us!
7

8

9

10

11

12

13

2) C as a system programming
language
A system programming language is used to create
system software. C language is a system
programming language because itcan be used to
do low-level programming (for example driver
and kernel). It is generally used to create
hardware devices, OS, drivers, kernels, etc. For
example, Linux kernel is written in C.
It can't be used for internet programming like Java,
.Net, PHP, etc.
14

C as a mother language
C language is considered as the mother
language of all the modern programming
languages becausemost of the compilers,
JVMs, Kernels, etc. are written in C
language, and most of the programming
languages follow C syntax, for example,
C++, Java, C#, etc.
It provides the core concepts like
thearray,strings,functions,file handling,
etc. that are being used in many languages
likeC++,Java,C#, etc.
15

3) C as a procedural language
A procedure is known as a function,
method, routine, subroutine, etc. A
procedural languagespecifies a series
of steps for the program to solve the
problem.
A procedural language breaks the
program into functions, data structures,
etc.
C is a procedural language. In C,
variables and function prototypes must
be declared before being used.
16

4) C as a structured programming
language
17
Astructuredprogramming
languageisasubsetofthe
procedural
language.Structuremeans
tobreakaprograminto
partsorblockssothatitmay
beeasytounderstand.
IntheClanguage,webreak
theprogramintopartsusing
functions.Itmakesthe
programeasiertounderstand
andmodify.


Quotations are
commonly printed as a
means of inspiration and
to invoke philosophical
thoughts from the
reader.
18

We are KapilGroup
KapilGroup is a conglomerate of over 35 companies involved in 24+
different businesses, 400+ offices and 16,000 employees. Our flagship
business is Chits. We operate in varied verticals like Real Estate and
Construction, Media –Electronic and Print, Hospitality and Business
centres, Health and Charity. Each business is professionally managed
with a separate board and executive committee

"KapilGuru is a game-changing online learning
platform. Online learning in today’s times is quite
commonplace. But what sets us apart from other such
platforms, you may ask? We at KapilGuru have
innovated online learning by bringing you live online
classes at your fingertips. We bring a Guru and a
student together in a live online environment. Because
when it’s live, they thrive. We believe, learning and
earning should be interactive and engaging. And what
better than live online classes to help a Guru and a
student achieve their objectives mutually? At Kapil
Guru, teachers/trainers/coaches get to educate and
train learners and enhance their reach and earnings
manifold."
LEARN
ANYTHING -ANYTIME -ANYWHERE
20

LEARN
ANYTHING -ANYTIME -ANYWHERE
21

A PICTURE IS
WORTH A
THOUSAND WORDS
22