SlideShare a Scribd company logo
1 of 20
PresentationPresentation
on
•
5
4
3
2
1
What is C language
C is a computer programming language.
Which is developed in 1972 by “Dennis Ritchie” at the Bell Telephone
Laboratories for use with the Unix operating system.
C was evolved from ALGOL, BCPL and B language. C uses many
concepts from these languages.
Although C was designed for implementing system software, it is also
widely used for developing application software.
It is widely used on a great many different software platforms and
computer architectures, and several popular compilers exist. C has
greatly influenced many other popular programming languages, most
notably C++, which originally began as an extension to C.
Content of C language
Variable Data Type Operator
Control
statement
Header File
Arrays
& Strings
Functions Pointers
Structures
& Unions
Loops
Header File
• In C programming languages, a header file or include file is a file,
usually in the form of source code, that is automatically included
in another source file by the compiler.
• Typically, header files are included via compiler directives at the
beginning (or head) of the other source file.
C has different types of Header File.
conio.hstdio.h stdlib.h ctype.h process.h
Variable & Data Type
The Variable are the memory places which provide the memory to
the coming up value. The variable is a data name. It have a unique name
In C language Variable are two types.
Variable
2.
Non-VolatileVolatile
1.
Data Type
2.
Built InUser Define
1. 3.
Derived
Data Type are three types.
Data Type indicates the type of value the variable can contain.
It specifies the size of the variable that will be occupied by it in
memory.
Operators & Pointers
In C language many of kinds of operators are present like . . .
Operators
Pointers
The Pointer is a variable that contains the address of
a location in memory. The location is the starting point of an
allocated object, such as an object or value type, or the
element of an array.
2.
RelationalArithmetic
1.
ConditionalLogical
3. 4.
The Operator is a symbol that represents a specific action.
For example, a plus sign (+) is an operator that represents addition.
Control Statement & Loops
C program is a set of statements. The control statement to see
Whether a particular condition has occurred or not.
C supports some statement like . . .
Control statement
Loops
2.
while loopfor loop
1. 3.
do while loop
In C language Loops are three types.
2. switch
statement
if statement
1. 3. goto
statement
Loops are used to execute the statements repeatedly .
Arrays & Strings
An array is a fixed-size sequenced collection of the same
data type. It is simply a grouping of like-type data.
C language has three types of Arrays . . .
Arrays
Strings
A string is a sequence of characters that is treated
as a single data item.
2.
Two- DOne- D
1. 3.
Multi- D
Functions
A function is a self-contained block of code that performs a
particular task.
Once a function has been designed and packed, it
can be treated as a ‘black box’ that takes some data from the main
program and return a value.
C functions classified into two categories,
User-Define FunctionsLibrary Functions
1. 2.
Structures & Unions
A structure is a collection of data items of different types.
C language supports a constructed data type know as structures,
A mechanism for packing data of different types. For example ,
It can be used to represent a set of attributes, such as
student_name, roll_number and marks.
Structures
Unions
Unions are a concept borrowed from structures.
A union contain many members of different types,
it can handle Only one member at a time.
Shivendra srivastwa
http://www.apsmind.com

More Related Content

What's hot

constants, variables and datatypes in C
constants, variables and datatypes in Cconstants, variables and datatypes in C
constants, variables and datatypes in C
Sahithi Naraparaju
 

What's hot (20)

Programming in c Arrays
Programming in c ArraysProgramming in c Arrays
Programming in c Arrays
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Strings in C
Strings in CStrings in C
Strings in C
 
Introduction of c programming
Introduction of c programmingIntroduction of c programming
Introduction of c programming
 
history of c.ppt
history of c.ppthistory of c.ppt
history of c.ppt
 
Introduction to c++ ppt 1
Introduction to c++ ppt 1Introduction to c++ ppt 1
Introduction to c++ ppt 1
 
Introduction to Basic C programming 01
Introduction to Basic C programming 01Introduction to Basic C programming 01
Introduction to Basic C programming 01
 
Constants in C Programming
Constants in C ProgrammingConstants in C Programming
Constants in C Programming
 
Oops ppt
Oops pptOops ppt
Oops ppt
 
constants, variables and datatypes in C
constants, variables and datatypes in Cconstants, variables and datatypes in C
constants, variables and datatypes in C
 
Presentation on Function in C Programming
Presentation on Function in C ProgrammingPresentation on Function in C Programming
Presentation on Function in C Programming
 
Introduction to c++
Introduction to c++Introduction to c++
Introduction to c++
 
10. switch case
10. switch case10. switch case
10. switch case
 
Basics of C programming
Basics of C programmingBasics of C programming
Basics of C programming
 
Data Type in C Programming
Data Type in C ProgrammingData Type in C Programming
Data Type in C Programming
 
C Tokens
C TokensC Tokens
C Tokens
 
Function C programming
Function C programmingFunction C programming
Function C programming
 
C language ppt
C language pptC language ppt
C language ppt
 
C functions
C functionsC functions
C functions
 
Functions in c++
Functions in c++Functions in c++
Functions in c++
 

Similar to C presentation

Similar to C presentation (20)

The C++ Programming Language
The C++ Programming LanguageThe C++ Programming Language
The C++ Programming Language
 
The smartpath information systems c pro
The smartpath information systems c proThe smartpath information systems c pro
The smartpath information systems c pro
 
Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)Learn c language Important topics ( Easy & Logical, & smart way of learning)
Learn c language Important topics ( Easy & Logical, & smart way of learning)
 
Introduction of C++ By Pawan Thakur
Introduction of C++ By Pawan ThakurIntroduction of C++ By Pawan Thakur
Introduction of C++ By Pawan Thakur
 
C Programming UNIT 1.pptx
C Programming  UNIT 1.pptxC Programming  UNIT 1.pptx
C Programming UNIT 1.pptx
 
Interview Questions For C Language
Interview Questions For C Language Interview Questions For C Language
Interview Questions For C Language
 
Interview Questions For C Language .pptx
Interview Questions For C Language .pptxInterview Questions For C Language .pptx
Interview Questions For C Language .pptx
 
Aniket tore
Aniket toreAniket tore
Aniket tore
 
Introduction to C Unit 1
Introduction to C Unit 1Introduction to C Unit 1
Introduction to C Unit 1
 
Basic Information About C language PDF
Basic Information About C language PDFBasic Information About C language PDF
Basic Information About C language PDF
 
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 Training in Ambala ! Batra Computer Centre
C programming Training in Ambala ! Batra Computer CentreC programming Training in Ambala ! Batra Computer Centre
C programming Training in Ambala ! Batra Computer Centre
 
Prog1-L1.pdf
Prog1-L1.pdfProg1-L1.pdf
Prog1-L1.pdf
 
Cp week _2.
Cp week _2.Cp week _2.
Cp week _2.
 
C Language
C LanguageC Language
C Language
 
C material
C materialC material
C material
 
unit2.pptx
unit2.pptxunit2.pptx
unit2.pptx
 
Pc module1
Pc module1Pc module1
Pc module1
 
C notes
C notesC notes
C notes
 
venkatesh.pptx
venkatesh.pptxvenkatesh.pptx
venkatesh.pptx
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
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
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
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
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 

C presentation

  • 2. 5
  • 3. 4
  • 4. 3
  • 5. 2
  • 6. 1
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. What is C language C is a computer programming language. Which is developed in 1972 by “Dennis Ritchie” at the Bell Telephone Laboratories for use with the Unix operating system. C was evolved from ALGOL, BCPL and B language. C uses many concepts from these languages. Although C was designed for implementing system software, it is also widely used for developing application software. It is widely used on a great many different software platforms and computer architectures, and several popular compilers exist. C has greatly influenced many other popular programming languages, most notably C++, which originally began as an extension to C.
  • 12. Content of C language Variable Data Type Operator Control statement Header File Arrays & Strings Functions Pointers Structures & Unions Loops
  • 13. Header File • In C programming languages, a header file or include file is a file, usually in the form of source code, that is automatically included in another source file by the compiler. • Typically, header files are included via compiler directives at the beginning (or head) of the other source file. C has different types of Header File. conio.hstdio.h stdlib.h ctype.h process.h
  • 14. Variable & Data Type The Variable are the memory places which provide the memory to the coming up value. The variable is a data name. It have a unique name In C language Variable are two types. Variable 2. Non-VolatileVolatile 1. Data Type 2. Built InUser Define 1. 3. Derived Data Type are three types. Data Type indicates the type of value the variable can contain. It specifies the size of the variable that will be occupied by it in memory.
  • 15. Operators & Pointers In C language many of kinds of operators are present like . . . Operators Pointers The Pointer is a variable that contains the address of a location in memory. The location is the starting point of an allocated object, such as an object or value type, or the element of an array. 2. RelationalArithmetic 1. ConditionalLogical 3. 4. The Operator is a symbol that represents a specific action. For example, a plus sign (+) is an operator that represents addition.
  • 16. Control Statement & Loops C program is a set of statements. The control statement to see Whether a particular condition has occurred or not. C supports some statement like . . . Control statement Loops 2. while loopfor loop 1. 3. do while loop In C language Loops are three types. 2. switch statement if statement 1. 3. goto statement Loops are used to execute the statements repeatedly .
  • 17. Arrays & Strings An array is a fixed-size sequenced collection of the same data type. It is simply a grouping of like-type data. C language has three types of Arrays . . . Arrays Strings A string is a sequence of characters that is treated as a single data item. 2. Two- DOne- D 1. 3. Multi- D
  • 18. Functions A function is a self-contained block of code that performs a particular task. Once a function has been designed and packed, it can be treated as a ‘black box’ that takes some data from the main program and return a value. C functions classified into two categories, User-Define FunctionsLibrary Functions 1. 2.
  • 19. Structures & Unions A structure is a collection of data items of different types. C language supports a constructed data type know as structures, A mechanism for packing data of different types. For example , It can be used to represent a set of attributes, such as student_name, roll_number and marks. Structures Unions Unions are a concept borrowed from structures. A union contain many members of different types, it can handle Only one member at a time.