SlideShare a Scribd company logo
How to write a C program
Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
Sourav Ganguly
Please visit my Youtube channel
Step 1: go to www.google.com
Step 2: Search for “sourav ganguly c programming”.
Step 3: Click on my image bottom of the video. You will reach my
channel.
Youtube (direct link):
https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg
Website:
http://www.startselfstudy.blogspot.in
Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
Index
Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
What is C language…..
 C is a programming language. We call this language
as High level or Middle level.
 It is Procedure (function) Oriented programming
language.
 C was developed in AT & T’s Bell Laboratories of
USA in the year 1972.
 Dennis Ritchie is the Father of C language.
Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
Why we learn C language…..
 C is the Mother of all languages.
 We can design software with this language.
C language can control hardware also.
 Familiar with C means you become family member
of any computer languages.
 It is the base of all computer languages like C++,
Java, etc.
Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
How to run a program in C language…..
 Step 1: Download and install “Code Block”. It is open source.
 Step 2: Run your first program “hello world”.
Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
How to write a program in C language….. (contd.)
 Design the Storage.
 Constant.
 Variable.
 Array.
 Take Input from user (optional).
 scanf(); function.
 gets(); function.
 Implement Logic on Stored Value
 Mathematical operations
 if statement.
 Loops.
 Logical AND, OR
 Display Result.
 printf(); function.
 puts(); function.
Program Start Point
Program End Point
C program
Code
How to write a program in C language….. (contd.)
 Design
the Storage.
 Take Input
from user
(optional).
 Implement
Logic on
Stored Value
 Display
Result.
Program
Start
Point
Program
End
Point
C program
Code
[Header file]
Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
Sourav Ganguly
Please visit my Youtube channel
Step 1: go to www.google.com
Step 2: Search for “sourav ganguly c programming”.
Step 3: Click on my image bottom of the video. You will reach my
channel.
Youtube (direct link):
https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg
Website:
http://www.startselfstudy.blogspot.in
Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
Sourav Ganguly
Please visit my Youtube channel
Step 1: go to www.google.com
Step 2: Search for “sourav ganguly c programming”.
Step 3: Click on my image bottom of the video. You will reach my
channel.
Youtube (direct link):
https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg
Website:
http://www.startselfstudy.blogspot.in
Copyright © 2015 · Sourav Ganguly · All Rights Reserved.

More Related Content

PPTX
Basic knowledge to learn c language
PPTX
C program language tutorial pattern printing
PPTX
Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?
PPSX
Walkthroughs & Interactive Schedules
PDF
Features of go
PDF
pdx893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-26-112
PDF
Tdd presentation
PDF
C++ and Software Engineering 2015
Basic knowledge to learn c language
C program language tutorial pattern printing
Alt Dot Net Usergroup: Does the world end if you stop using Visual Studio?
Walkthroughs & Interactive Schedules
Features of go
pdx893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-26-112
Tdd presentation
C++ and Software Engineering 2015

Viewers also liked (14)

DOCX
Exerci activitat anglès 1
PDF
Estadisticas veredal 8
PDF
Estadisticas mayores 12
DOCX
Andamio de computadora
PDF
Estadisticas veredal 2
PPTX
There’s money to be made in sustainability juliet downes
PDF
لباب التأويل في معاني التنزيل (تفسير الخازن)، ومعه معالم التنزيل (تفسير البغو...
DOCX
103317354 1st caselepro-1docx
PDF
قطوف الإيمان من عجائب إحصاء القرآن
PPTX
Campos en los que trabajan los psicologos
PPTX
The Framework for Generic Drug Regulation In The United States
Exerci activitat anglès 1
Estadisticas veredal 8
Estadisticas mayores 12
Andamio de computadora
Estadisticas veredal 2
There’s money to be made in sustainability juliet downes
لباب التأويل في معاني التنزيل (تفسير الخازن)، ومعه معالم التنزيل (تفسير البغو...
103317354 1st caselepro-1docx
قطوف الإيمان من عجائب إحصاء القرآن
Campos en los que trabajan los psicologos
The Framework for Generic Drug Regulation In The United States
Ad

Similar to How to write c programme (20)

PPTX
C program language tutorial for loop while loop do while loop
PDF
Programming Without Coding Technology (PWCT) Getting Started - The Time Machine
PPTX
Basic knowledge to learn c language
PDF
Capturing The Moment at VSTE 2011
PDF
Pixlr and small apps in the classroom
PDF
Csw2016 d antoine_automatic_exploitgeneration
PDF
C plus plus for hackers it security
PDF
Digital Media Academy Mac-D3
PPTX
Introduction to Software Engineering Lecture 0
PDF
How to develop a Flutter app.pdf
PDF
Go tutorial
PDF
C in7-days
PDF
C in7-days
PDF
Golang, Python or C/C++, who wins
PDF
Preparing for the WebGeek DevCup
PDF
How to work with code blocks
PDF
His162013 140529214456-phpapp01
PDF
C++ for hackers
PDF
Programming in c_in_7_days
PDF
Go tutorial
C program language tutorial for loop while loop do while loop
Programming Without Coding Technology (PWCT) Getting Started - The Time Machine
Basic knowledge to learn c language
Capturing The Moment at VSTE 2011
Pixlr and small apps in the classroom
Csw2016 d antoine_automatic_exploitgeneration
C plus plus for hackers it security
Digital Media Academy Mac-D3
Introduction to Software Engineering Lecture 0
How to develop a Flutter app.pdf
Go tutorial
C in7-days
C in7-days
Golang, Python or C/C++, who wins
Preparing for the WebGeek DevCup
How to work with code blocks
His162013 140529214456-phpapp01
C++ for hackers
Programming in c_in_7_days
Go tutorial
Ad

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Institutional Correction lecture only . . .
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Pharma ospi slides which help in ospi learning
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Basic Mud Logging Guide for educational purpose
PPTX
master seminar digital applications in india
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
2.FourierTransform-ShortQuestionswithAnswers.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Institutional Correction lecture only . . .
Supply Chain Operations Speaking Notes -ICLT Program
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Pharma ospi slides which help in ospi learning
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Cell Structure & Organelles in detailed.
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
O5-L3 Freight Transport Ops (International) V1.pdf
Pre independence Education in Inndia.pdf
Sports Quiz easy sports quiz sports quiz
Basic Mud Logging Guide for educational purpose
master seminar digital applications in india
Final Presentation General Medicine 03-08-2024.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Renaissance Architecture: A Journey from Faith to Humanism
Abdominal Access Techniques with Prof. Dr. R K Mishra

How to write c programme

  • 1. How to write a C program Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
  • 2. Sourav Ganguly Please visit my Youtube channel Step 1: go to www.google.com Step 2: Search for “sourav ganguly c programming”. Step 3: Click on my image bottom of the video. You will reach my channel. Youtube (direct link): https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg Website: http://www.startselfstudy.blogspot.in Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
  • 3. Index Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
  • 4. What is C language…..  C is a programming language. We call this language as High level or Middle level.  It is Procedure (function) Oriented programming language.  C was developed in AT & T’s Bell Laboratories of USA in the year 1972.  Dennis Ritchie is the Father of C language. Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
  • 5. Why we learn C language…..  C is the Mother of all languages.  We can design software with this language. C language can control hardware also.  Familiar with C means you become family member of any computer languages.  It is the base of all computer languages like C++, Java, etc. Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
  • 6. How to run a program in C language…..  Step 1: Download and install “Code Block”. It is open source.  Step 2: Run your first program “hello world”. Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
  • 7. How to write a program in C language….. (contd.)  Design the Storage.  Constant.  Variable.  Array.  Take Input from user (optional).  scanf(); function.  gets(); function.  Implement Logic on Stored Value  Mathematical operations  if statement.  Loops.  Logical AND, OR  Display Result.  printf(); function.  puts(); function. Program Start Point Program End Point C program Code
  • 8. How to write a program in C language….. (contd.)  Design the Storage.  Take Input from user (optional).  Implement Logic on Stored Value  Display Result. Program Start Point Program End Point C program Code [Header file] Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
  • 9. Sourav Ganguly Please visit my Youtube channel Step 1: go to www.google.com Step 2: Search for “sourav ganguly c programming”. Step 3: Click on my image bottom of the video. You will reach my channel. Youtube (direct link): https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg Website: http://www.startselfstudy.blogspot.in Copyright © 2015 · Sourav Ganguly · All Rights Reserved.
  • 10. Sourav Ganguly Please visit my Youtube channel Step 1: go to www.google.com Step 2: Search for “sourav ganguly c programming”. Step 3: Click on my image bottom of the video. You will reach my channel. Youtube (direct link): https://www.youtube.com/channel/UCDsQskBhM107VIYLjg8kczg Website: http://www.startselfstudy.blogspot.in Copyright © 2015 · Sourav Ganguly · All Rights Reserved.