SlideShare a Scribd company logo
1 of 10
C PROGRAMMING
SUPERVISED BY:
M.SAFAR
PRESENTED BY :
GOVAND AMEER
MAHMUD WRYA
INTRODUCTION
C programming language was developed in 1972 by Dennis
Ritchie at bell laboratories of AT&T (American Telephone &
Telegraph), located in the U.S.A, is a general-purpose
computer programming language, and remains very widely
used and influential. By design, C's features cleanly reflect
the capabilities of the targeted CPUs.
WHY NAME 'C' WAS GIVEN TO THIS
LANGUAGE?
• Many of the ideas of C language were derived and taken
from 'B' language.
• BCPL and CPL are previous versions of 'B' language.
• As many features came from B it was named as 'C'.
ABOUT “C”
o C is a structured programming language.
o C supports functions that enables easy maintainability of
code, by breaking large file into smaller modules.
o Comments in C provides easy readability.
o C is a powerful language.
o C programs built from:
• Variable and type declarations
• Functions
• Statements
• Expressions
STRUCTURE OF “C” PROGRAMS
 Before going and reading the structure of C programs we
need to have a basic knowledge of the following:
I. C's Character Set
II. C's Keywords
III. The General Structure of a 'C' Program
IV. How To EndAStatement
V. Free Format Language
VI. Header Files & Library Functions
C’S CHARACTER SET
C does not use every character set and key found on modern
computers . The only characters that C - Language uses
for its programs are as follows:
• A-Z all alphabets
• a-z all alphabets
• 0-9
• # % & ! _ {} [] () $$$$ &&&&
• space . , : ; ' $ "
•  + - / * =
THE KEYWORDS
• "Keywords" are words that have special meaning to the
C compiler.
• Their meaning cannot be changed at any instance.
• Serve as basic building blocks for program
statements.
• All keywords are written in only lowercase.
KEYWORDS IN ANSI “C”
auto double register switch
break else return typedef
case enum short union
char etern signed unsigned
const float sizeof void
continue for static volatile
default goto struct while
do if int long
C C++
C was developed by scientist
Dennis Ritchie in 1972 at Bell
Laboratories.
C++ was developed by Bjarne
Stroustup in 1979.
C contains 32 keywords C++ contains 63 keywords.
C supports built-in data types. C++ support both built-in and user-
defined data types.
C does not have any security
features so it can be manipulated
by outsider
C++ is a secure language as it
offers security features such as
data hiding and encapsulation
C does not support reference
variable
C++ support reference variable
C doesn’t support inline function C++ support inline function
REFERENCES :
I. https://books.google.com/books/about/Programming_in_
C.html?id=jc5-3BArEjQC
II. https://books.google.com/books/about/The_C_Program
ming_Language.html?id=HHhGAAAAYAAJ
III. https://books.google.com/books/about/A_Book_on_C.ht
ml?id=0FwZAQAAIAAJ

More Related Content

Similar to C Programming.pptx

Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn
 
1. over view and history of c
1. over view and history of c1. over view and history of c
1. over view and history of c
Harish Kumawat
 

Similar to C Programming.pptx (20)

C language myths & secrets
C language myths & secretsC language myths & secrets
C language myths & secrets
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTREC & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
 
Lecture01-Introduction-to-C-programming-converted (4).pptx
Lecture01-Introduction-to-C-programming-converted (4).pptxLecture01-Introduction-to-C-programming-converted (4).pptx
Lecture01-Introduction-to-C-programming-converted (4).pptx
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming language
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 
Best C Programming Training & Coaching in Ambala
Best C Programming Training & Coaching in AmbalaBest C Programming Training & Coaching in Ambala
Best C Programming Training & Coaching in Ambala
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
C Programming introduction
C Programming introductionC Programming introduction
C Programming introduction
 
introduction to c.pptx
introduction to c.pptxintroduction to c.pptx
introduction to c.pptx
 
C language part 1
C language part  1C language part  1
C language part 1
 
C language part 1
C language part  1C language part  1
C language part 1
 
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 language unit-1
C language unit-1C language unit-1
C language unit-1
 
C LANGUAGE UNIT-1 PREPARED BY M V BRAHMANANDA REDDY
C LANGUAGE UNIT-1 PREPARED BY M V BRAHMANANDA REDDYC LANGUAGE UNIT-1 PREPARED BY M V BRAHMANANDA REDDY
C LANGUAGE UNIT-1 PREPARED BY M V BRAHMANANDA REDDY
 
C languaGE UNIT-1
C languaGE UNIT-1C languaGE UNIT-1
C languaGE UNIT-1
 
1. over view and history of c
1. over view and history of c1. over view and history of c
1. over view and history of c
 
C programming
C programmingC programming
C programming
 

Recently uploaded

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 

Recently uploaded (20)

male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 

C Programming.pptx

  • 1. C PROGRAMMING SUPERVISED BY: M.SAFAR PRESENTED BY : GOVAND AMEER MAHMUD WRYA
  • 2. INTRODUCTION C programming language was developed in 1972 by Dennis Ritchie at bell laboratories of AT&T (American Telephone & Telegraph), located in the U.S.A, is a general-purpose computer programming language, and remains very widely used and influential. By design, C's features cleanly reflect the capabilities of the targeted CPUs.
  • 3. WHY NAME 'C' WAS GIVEN TO THIS LANGUAGE? • Many of the ideas of C language were derived and taken from 'B' language. • BCPL and CPL are previous versions of 'B' language. • As many features came from B it was named as 'C'.
  • 4. ABOUT “C” o C is a structured programming language. o C supports functions that enables easy maintainability of code, by breaking large file into smaller modules. o Comments in C provides easy readability. o C is a powerful language. o C programs built from: • Variable and type declarations • Functions • Statements • Expressions
  • 5. STRUCTURE OF “C” PROGRAMS  Before going and reading the structure of C programs we need to have a basic knowledge of the following: I. C's Character Set II. C's Keywords III. The General Structure of a 'C' Program IV. How To EndAStatement V. Free Format Language VI. Header Files & Library Functions
  • 6. C’S CHARACTER SET C does not use every character set and key found on modern computers . The only characters that C - Language uses for its programs are as follows: • A-Z all alphabets • a-z all alphabets • 0-9 • # % & ! _ {} [] () $$$$ &&&& • space . , : ; ' $ " •  + - / * =
  • 7. THE KEYWORDS • "Keywords" are words that have special meaning to the C compiler. • Their meaning cannot be changed at any instance. • Serve as basic building blocks for program statements. • All keywords are written in only lowercase.
  • 8. KEYWORDS IN ANSI “C” auto double register switch break else return typedef case enum short union char etern signed unsigned const float sizeof void continue for static volatile default goto struct while do if int long
  • 9. C C++ C was developed by scientist Dennis Ritchie in 1972 at Bell Laboratories. C++ was developed by Bjarne Stroustup in 1979. C contains 32 keywords C++ contains 63 keywords. C supports built-in data types. C++ support both built-in and user- defined data types. C does not have any security features so it can be manipulated by outsider C++ is a secure language as it offers security features such as data hiding and encapsulation C does not support reference variable C++ support reference variable C doesn’t support inline function C++ support inline function
  • 10. REFERENCES : I. https://books.google.com/books/about/Programming_in_ C.html?id=jc5-3BArEjQC II. https://books.google.com/books/about/The_C_Program ming_Language.html?id=HHhGAAAAYAAJ III. https://books.google.com/books/about/A_Book_on_C.ht ml?id=0FwZAQAAIAAJ