SlideShare a Scribd company logo
1 of 37
C U T E
C Language
program
T H E P O W E R P O I N T T E M P L A T E
Mrs.G.Jyothi M.C.A.,M.B.A.,
A s s t . P r o f e s s o r
Depa rtme nt o f C o m merce
E.M.G.Yadava Women's College
Overview of c
CONTENTS
Executing of C program
Data Types
Overview
of C
Over view of C
Basic structure of c
programs
Executing a c
programs
Constants And
variables
Data Types
Character set,C Tokens,
keywords and identifiers
Declaration of variables,
Assigning value to variables
Defining symbolic
constants
What is C
C is a programming language developed at AT & T's
BELL Laboratories of USA in 1972
It was designed and written by a man named Dennis
Ritchie .Late seventies C began to replace more familiar
language like PL/I ,ALGOL.,Etc. C to older language like
FORTRAN or PL/L ,Newer ones like Pascal and APL.
Dennis Ritchie pioneer of C
programming language and
spearheaded the
development of Unix ,has
died at age 70
Ritchie's illustrious career
begin in 1967, when he
joined BELL Labs just 1year
before receiving a PhD in
physics from Harvard
University
 In 1969, he helped to develop the Unix
Operating
 In 1978 C programming language and
Award in 1983, Election to the National
of Engineering in 1988 and the
National medal of Technology in1999
Getting Started with C
There is a close analogy between learning
English language and learning C Language
 Learning C is similar and easier. We must first
know what alphabet, numbers and special
symbols are used in C , then how using them
constants, variables and keywords are
constructed.
Steps in Learning C
Alphabets
Digits
Special symbols
Instructions Program
Constants
Variables
Keywords
History Of ANSI C(American National Standards Institute)
ALGOL
BCPL
B
1960
1967
1970
International
Groups
Martin
Richards
Ken
Thompson
Traditional C
K&R C
ANSI C
ANSI/SO C
Kernighan &
Ritchie
1972
1978
1989
1990
Dennis Ritchie
ANSI Committee
ISO Committee
Importance Of C
The C complier combines the capabilities of an assembly language
with the features of a high-level language and therefore suited for
writing both system software and business packages.
Programs written in C are efficient and fast.This is due to its variety
of DataTypes and powerful operators and many times faster than
BASIC
C is highly portable and it is well suited for structured programming
,thus requiring the user to think of a problem in terms of function
modules or blocks
A proper collection of these modules would make a complete
program and each modules structure makes program debugging,
testing and maintenance easier.
 Another important features of C is it's ability to extend itself.
A C program is basically a collection of functions that are supported
by the C library.
Several standard functions are available which can be used for
developing programs
There are only 32 keywords and it's strength lies in it's built-in
functions
For EX: A program to increment a variable from 0 to 15000 takes
about one second in a C while it takes more than 50 seconds in an
interpreter BASIC.
SAMPLE PROGRAM : PRINTING A MESSAGE
Main()
{
/*------- Printing begins----------*/
Printf(" I see, I remember");
/*---------printing ends-------------*/
}
Output: I see,I remember
BASIC STRUCTURE OF C PROGRAMS
C program can be viewed as a group of building blocks called function
A function is a subroutine that may include one or more statement designed to
perform a specific task.
To write a C program, we first create functions and then put them together
A C program may contain one or more sections.
An overview of a C program
Documentation Section
Link Section
Definition Section
Global Declaration Section
main() Function Section
{
}
Declaration Part
Executable Part
am Section
Function 1
Function 2
:
:
Function n
( User-defined functions)
PROGRAMMING OF STYLE AND THE MAIN Fn
 C is a free- form language and statement are written in
lowercase letters . Uppercase letters are used only for
symbolic constants.
 We can group statement together on one line
 a= b;
 x=y+1;
 z=a+x;
Can be written on one line as
a=b; x=y+1; z= a+x;
 The main is a part of every C program. C permit
different forms of main statement. Following forms are
allowed.
 main()
 int main ()
 void main()
 main (void)
 void main (void)
 int main (void)
EXECUTING A C PROGRAM
Executing a program written in C involves a series of
steps. These are:
Creating the program
Compiling the program
Linking the program with function that are needed
from the C library
Executing the program.
CHARACTER SET
The character that can be used to form words,
numbers and expressions depends upon the
computer on which the program is run.
The character in C are grouped into the following
categories:
1. Letters
2. Digits
3. Special characters
4. White spaces
C character set
Special characters
, comma
. period
; Semicolon
:Colon
? question mark
'apostrophe
"quotation mark
$ dollar sign
% percent sign
& ampersand
^caret
*asterisk
- minus sign
+ Plus sign
( left parenthesis
) right parenthesis
{ left brace
} right brace
White spaces
Blank space
Horizontal tab
Carriage return
New line
Form feed
C TOKENS
ADD YOUR TITLE HERE
ADD YOUR TITLE HERE
ADD TITLE
According to your need to draw the
text box size
According to your need to draw the
text box size
According to your need to draw the
text box size
DATA TYPES
INTRODUCTION
C U T E
THANK YOUT H E P O W E R P O I N T T E M P L A T E
A D D Y O U R N A M E

More Related Content

What's hot

C basics 4 std11(GujBoard)
C basics 4 std11(GujBoard)C basics 4 std11(GujBoard)
C basics 4 std11(GujBoard)indrasir
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C LanguageTarun Sharma
 
Introduction to c_language
Introduction to c_languageIntroduction to c_language
Introduction to c_languageWay2itech
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C LanguageKamal Acharya
 
1 introduction to c programming language
1 introduction to c programming language1 introduction to c programming language
1 introduction to c programming languageNarendra Soni
 
C programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakilC programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakilZenith SVG
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEMMansi Tyagi
 
IP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG ProgrammeIP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG ProgrammeSAFAD ISMAIL
 
Introduction to C Language (By: Shujaat Abbas)
Introduction to C Language (By: Shujaat Abbas)Introduction to C Language (By: Shujaat Abbas)
Introduction to C Language (By: Shujaat Abbas)Shujaat Abbas
 
introduction to c programming language
introduction to c programming languageintroduction to c programming language
introduction to c programming languagesanjay joshi
 

What's hot (20)

C basics 4 std11(GujBoard)
C basics 4 std11(GujBoard)C basics 4 std11(GujBoard)
C basics 4 std11(GujBoard)
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
 
Introduction to c_language
Introduction to c_languageIntroduction to c_language
Introduction to c_language
 
Introduction to C Language
Introduction to C LanguageIntroduction to C Language
Introduction to C Language
 
Tokens_C
Tokens_CTokens_C
Tokens_C
 
1 introduction to c programming language
1 introduction to c programming language1 introduction to c programming language
1 introduction to c programming language
 
C programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakilC programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakil
 
C Programming Language
C Programming LanguageC Programming Language
C Programming Language
 
C Language
C LanguageC Language
C Language
 
Programming in c notes
Programming in c notesProgramming in c notes
Programming in c notes
 
C programming
C programmingC programming
C programming
 
C language
C languageC language
C language
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEM
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
 
IP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG ProgrammeIP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG Programme
 
Introduction to C Language (By: Shujaat Abbas)
Introduction to C Language (By: Shujaat Abbas)Introduction to C Language (By: Shujaat Abbas)
Introduction to C Language (By: Shujaat Abbas)
 
C programme presentation
C programme presentationC programme presentation
C programme presentation
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
introduction to c programming language
introduction to c programming languageintroduction to c programming language
introduction to c programming language
 
C Language
C LanguageC Language
C Language
 

Similar to C Language Program Overview

C programming presentation(final)
C programming presentation(final)C programming presentation(final)
C programming presentation(final)aaravSingh41
 
Unit-2_Getting Started With ‘C’ Language (3).pptx
Unit-2_Getting Started With ‘C’ Language (3).pptxUnit-2_Getting Started With ‘C’ Language (3).pptx
Unit-2_Getting Started With ‘C’ Language (3).pptxSanketShah544615
 
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdfTCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdfAbhishekMGowda4
 
C programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ CollegeC programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ CollegeMUNNAKUMAR89
 
Introduction to C Programming (1).pdf
Introduction to C Programming (1).pdfIntroduction to C Programming (1).pdf
Introduction to C Programming (1).pdfSahidkhatiwada
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming LanguageSinbad Konick
 
prateek verbal computer language 2024 .pptx
prateek verbal computer language  2024 .pptxprateek verbal computer language  2024 .pptx
prateek verbal computer language 2024 .pptxgautamprateek97
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageRamaBoya2
 
Intro to cprogramming
Intro to cprogrammingIntro to cprogramming
Intro to cprogrammingskashwin98
 
C Programming language - introduction
C Programming  language - introduction  C Programming  language - introduction
C Programming language - introduction GopikaS12
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for universitySheikh Monirul Hasan
 
C programming language Reference Note
C programming language Reference NoteC programming language Reference Note
C programming language Reference NoteChetan Thapa Magar
 

Similar to C Language Program Overview (20)

C programming presentation(final)
C programming presentation(final)C programming presentation(final)
C programming presentation(final)
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Unit-2_Getting Started With ‘C’ Language (3).pptx
Unit-2_Getting Started With ‘C’ Language (3).pptxUnit-2_Getting Started With ‘C’ Language (3).pptx
Unit-2_Getting Started With ‘C’ Language (3).pptx
 
C AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDYC AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDY
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdfTCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
TCS-NQT-Coding-Questions-@-Recruitmentindia.in_.pdf
 
C program
C programC program
C program
 
C programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ CollegeC programing for BCA Sem 1. JJ College
C programing for BCA Sem 1. JJ College
 
chapter 1.pptx
chapter 1.pptxchapter 1.pptx
chapter 1.pptx
 
Introduction to C Programming (1).pdf
Introduction to C Programming (1).pdfIntroduction to C Programming (1).pdf
Introduction to C Programming (1).pdf
 
Programming.pptx
Programming.pptxProgramming.pptx
Programming.pptx
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
 
prateek verbal computer language 2024 .pptx
prateek verbal computer language  2024 .pptxprateek verbal computer language  2024 .pptx
prateek verbal computer language 2024 .pptx
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 
Intro to cprogramming
Intro to cprogrammingIntro to cprogramming
Intro to cprogramming
 
C Programming language - introduction
C Programming  language - introduction  C Programming  language - introduction
C Programming language - introduction
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
 
C programming language Reference Note
C programming language Reference NoteC programming language Reference Note
C programming language Reference Note
 
Lecture 1 progrmming with C
Lecture 1 progrmming with C Lecture 1 progrmming with C
Lecture 1 progrmming with C
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 

C Language Program Overview

  • 1. C U T E C Language program T H E P O W E R P O I N T T E M P L A T E Mrs.G.Jyothi M.C.A.,M.B.A., A s s t . P r o f e s s o r Depa rtme nt o f C o m merce E.M.G.Yadava Women's College
  • 2. Overview of c CONTENTS Executing of C program Data Types
  • 4. Over view of C Basic structure of c programs Executing a c programs Constants And variables Data Types Character set,C Tokens, keywords and identifiers Declaration of variables, Assigning value to variables Defining symbolic constants
  • 5. What is C C is a programming language developed at AT & T's BELL Laboratories of USA in 1972 It was designed and written by a man named Dennis Ritchie .Late seventies C began to replace more familiar language like PL/I ,ALGOL.,Etc. C to older language like FORTRAN or PL/L ,Newer ones like Pascal and APL.
  • 6. Dennis Ritchie pioneer of C programming language and spearheaded the development of Unix ,has died at age 70 Ritchie's illustrious career begin in 1967, when he joined BELL Labs just 1year before receiving a PhD in physics from Harvard University
  • 7.  In 1969, he helped to develop the Unix Operating  In 1978 C programming language and Award in 1983, Election to the National of Engineering in 1988 and the National medal of Technology in1999
  • 8. Getting Started with C There is a close analogy between learning English language and learning C Language  Learning C is similar and easier. We must first know what alphabet, numbers and special symbols are used in C , then how using them constants, variables and keywords are constructed.
  • 9. Steps in Learning C Alphabets Digits Special symbols Instructions Program Constants Variables Keywords
  • 10. History Of ANSI C(American National Standards Institute) ALGOL BCPL B 1960 1967 1970 International Groups Martin Richards Ken Thompson
  • 11. Traditional C K&R C ANSI C ANSI/SO C Kernighan & Ritchie 1972 1978 1989 1990 Dennis Ritchie ANSI Committee ISO Committee
  • 12. Importance Of C The C complier combines the capabilities of an assembly language with the features of a high-level language and therefore suited for writing both system software and business packages. Programs written in C are efficient and fast.This is due to its variety of DataTypes and powerful operators and many times faster than BASIC C is highly portable and it is well suited for structured programming ,thus requiring the user to think of a problem in terms of function modules or blocks
  • 13. A proper collection of these modules would make a complete program and each modules structure makes program debugging, testing and maintenance easier.  Another important features of C is it's ability to extend itself. A C program is basically a collection of functions that are supported by the C library. Several standard functions are available which can be used for developing programs There are only 32 keywords and it's strength lies in it's built-in functions For EX: A program to increment a variable from 0 to 15000 takes about one second in a C while it takes more than 50 seconds in an interpreter BASIC.
  • 14. SAMPLE PROGRAM : PRINTING A MESSAGE Main() { /*------- Printing begins----------*/ Printf(" I see, I remember"); /*---------printing ends-------------*/ } Output: I see,I remember
  • 15. BASIC STRUCTURE OF C PROGRAMS C program can be viewed as a group of building blocks called function A function is a subroutine that may include one or more statement designed to perform a specific task. To write a C program, we first create functions and then put them together A C program may contain one or more sections.
  • 16. An overview of a C program Documentation Section Link Section Definition Section Global Declaration Section main() Function Section { } Declaration Part Executable Part
  • 17. am Section Function 1 Function 2 : : Function n ( User-defined functions)
  • 18. PROGRAMMING OF STYLE AND THE MAIN Fn  C is a free- form language and statement are written in lowercase letters . Uppercase letters are used only for symbolic constants.  We can group statement together on one line  a= b;  x=y+1;  z=a+x; Can be written on one line as
  • 19. a=b; x=y+1; z= a+x;  The main is a part of every C program. C permit different forms of main statement. Following forms are allowed.  main()  int main ()  void main()  main (void)  void main (void)  int main (void)
  • 20. EXECUTING A C PROGRAM Executing a program written in C involves a series of steps. These are: Creating the program Compiling the program Linking the program with function that are needed from the C library Executing the program.
  • 21. CHARACTER SET The character that can be used to form words, numbers and expressions depends upon the computer on which the program is run. The character in C are grouped into the following categories: 1. Letters 2. Digits 3. Special characters 4. White spaces
  • 22. C character set Special characters , comma . period ; Semicolon :Colon ? question mark 'apostrophe "quotation mark $ dollar sign % percent sign & ampersand ^caret *asterisk - minus sign + Plus sign ( left parenthesis ) right parenthesis { left brace } right brace
  • 23. White spaces Blank space Horizontal tab Carriage return New line Form feed
  • 24.
  • 27. ADD YOUR TITLE HERE ADD TITLE According to your need to draw the text box size According to your need to draw the text box size According to your need to draw the text box size
  • 28.
  • 29.
  • 30.
  • 31.
  • 34.
  • 35.
  • 36.
  • 37. C U T E THANK YOUT H E P O W E R P O I N T T E M P L A T E A D D Y O U R N A M E