SlideShare a Scribd company logo
ACTIVE LEARNING ASSIGNMENT
TOPIC: INTRODUCTION TO “C”
History Of C
• Created By Dennis Ritchie At Bell Labs In 1972
• Originally Created To Design And Support The Unix
Operating System.
• C Compilers Are Available For Virtually Every
Platform
• In 1983 The American National Standards Institute
(ANSI) Standardized C to be called ANSI Standard C.
• ANSI C Programs That You Write Should Work With
Any ANSI C Compiler.
Features of C
• Efficient & Fast.
• Variety Of Data Types & Powerful Operators.
• Highly Portable.
• Well Suited For Structured Programming.
• Its Ability To Extend Itself.
• A Collection Of Functions.
Use Of C
• Operating Systems
• Language Compilers
• Assemblers
• Text Editors
• Print Spoolers
• Network Drivers
• Modern Programs
Data Types
• Different Types Of Variables Allow The Storing Different
Types Of Data, Hence The Name “Data Types”
• E.g. If You Had To Store The Numbers 10 And 10.0, C
Provides Two Different Data Types.
Basics Of Variables
char: A Single Byte, Holds One Character e.g. The Letter
‘a’, Although They are Stored As Integer Values
Standardized As ASCII Numbers
int: An Integer Of Fixed Length, Usually 4 bytes / 32 bits.
E.g. The Number 10 Can Be Stored In A Variable Of
Type Int.
float: Single-Precision Floating Point. e.g. The Number
10.67
double: Same As A float But With Double Precision
Basic Things For C
• Link Section- It Contains Header File. Mainly Two Header
Files:-
• 1 > stdio.h:-Standard Input Output Header File(For printf,
scanf, etc.)
• 2> conio.h:-Console Input Output Header File(For clrscr(),
getch(), etc.)
• Main Function:- It Contains Main Logic Of The Program.
Sample Program Of C
C Tokens
• C Tokens Are The Basic Buildings Blocks In C Language
Which Are Constructed Together To Write A C Program.
• Each And Every Smallest Individual Units In A C Program
Are Known As C Tokens.
C Tokens Example Program:
• int main()
{
int x, y, total;
x = 10, y = 20;
total = x + y;
Printf (“Total = %d n”, total);
}
C Tokens Are Of Six Types
• Keywords (eg: int)
• Identifiers (eg: main, total)
• Constants (eg: 10, 20)
• Strings (eg: “total”,)
• Special symbols (eg: (), {})
• Operators (eg: +, /,-,*)
Cpu.ppt INTRODUCTION TO “C”

More Related Content

What's hot

Data Type C# - Lec2 (Workshop on C# Programming: Learn to Build)
Data Type C# - Lec2 (Workshop on C# Programming: Learn to Build)Data Type C# - Lec2 (Workshop on C# Programming: Learn to Build)
Data Type C# - Lec2 (Workshop on C# Programming: Learn to Build)
Jannat Ruma
 
Big data quiz
Big data quizBig data quiz
Big data quiz
Parmpreet Singh
 
Presentation 2.pptx
Presentation 2.pptxPresentation 2.pptx
Presentation 2.pptx
ritik872725
 
Python command line_14_12_2020
Python command line_14_12_2020Python command line_14_12_2020
Python command line_14_12_2020
Sugnan M
 
An Overview of LLVM Link Time Optimization
An Overview of LLVM Link Time Optimization An Overview of LLVM Link Time Optimization
An Overview of LLVM Link Time Optimization
Vivek Pandya
 
Net framework
Net frameworkNet framework
Net framework
Abhishek Mukherjee
 
Introduction to knitr - May Sheffield R Users group
Introduction to knitr - May Sheffield R Users groupIntroduction to knitr - May Sheffield R Users group
Introduction to knitr - May Sheffield R Users group
Paul Richards
 
Standard Library Functions
Standard Library FunctionsStandard Library Functions
Standard Library Functions
Praveen M Jigajinni
 
CPP17 - File IO
CPP17 - File IOCPP17 - File IO
CPP17 - File IO
Michael Heron
 
Replication Internals: The Life of a Write
Replication Internals: The Life of a WriteReplication Internals: The Life of a Write
Replication Internals: The Life of a Write
MongoDB
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming language
sanjay joshi
 
GitRecruit final 1
GitRecruit final 1GitRecruit final 1
GitRecruit final 1
Yinghan Fu
 
Console applications IN C#
Console applications IN C#Console applications IN C#
Console applications IN C#
Sireesh K
 
Efficient Erlang - Performance and memory efficiency of your data by Dmytro L...
Efficient Erlang - Performance and memory efficiency of your data by Dmytro L...Efficient Erlang - Performance and memory efficiency of your data by Dmytro L...
Efficient Erlang - Performance and memory efficiency of your data by Dmytro L...
Erlang Solutions
 
Pict: A programming language based on the pi-calculus
Pict: A programming language based on the pi-calculusPict: A programming language based on the pi-calculus
Pict: A programming language based on the pi-calculus
IMDS2014
 
Lecture1
Lecture1Lecture1
20 basic computer mcqs
20 basic computer mcqs20 basic computer mcqs
20 basic computer mcqs
shah ali
 
OSMC 2014: Introduction into collectd | Florian Foster
OSMC 2014: Introduction into collectd | Florian FosterOSMC 2014: Introduction into collectd | Florian Foster
OSMC 2014: Introduction into collectd | Florian Foster
NETWAYS
 
(2) collections algorithms
(2) collections algorithms(2) collections algorithms
(2) collections algorithms
Nico Ludwig
 

What's hot (19)

Data Type C# - Lec2 (Workshop on C# Programming: Learn to Build)
Data Type C# - Lec2 (Workshop on C# Programming: Learn to Build)Data Type C# - Lec2 (Workshop on C# Programming: Learn to Build)
Data Type C# - Lec2 (Workshop on C# Programming: Learn to Build)
 
Big data quiz
Big data quizBig data quiz
Big data quiz
 
Presentation 2.pptx
Presentation 2.pptxPresentation 2.pptx
Presentation 2.pptx
 
Python command line_14_12_2020
Python command line_14_12_2020Python command line_14_12_2020
Python command line_14_12_2020
 
An Overview of LLVM Link Time Optimization
An Overview of LLVM Link Time Optimization An Overview of LLVM Link Time Optimization
An Overview of LLVM Link Time Optimization
 
Net framework
Net frameworkNet framework
Net framework
 
Introduction to knitr - May Sheffield R Users group
Introduction to knitr - May Sheffield R Users groupIntroduction to knitr - May Sheffield R Users group
Introduction to knitr - May Sheffield R Users group
 
Standard Library Functions
Standard Library FunctionsStandard Library Functions
Standard Library Functions
 
CPP17 - File IO
CPP17 - File IOCPP17 - File IO
CPP17 - File IO
 
Replication Internals: The Life of a Write
Replication Internals: The Life of a WriteReplication Internals: The Life of a Write
Replication Internals: The Life of a Write
 
Introduction to c programming language
Introduction to c programming languageIntroduction to c programming language
Introduction to c programming language
 
GitRecruit final 1
GitRecruit final 1GitRecruit final 1
GitRecruit final 1
 
Console applications IN C#
Console applications IN C#Console applications IN C#
Console applications IN C#
 
Efficient Erlang - Performance and memory efficiency of your data by Dmytro L...
Efficient Erlang - Performance and memory efficiency of your data by Dmytro L...Efficient Erlang - Performance and memory efficiency of your data by Dmytro L...
Efficient Erlang - Performance and memory efficiency of your data by Dmytro L...
 
Pict: A programming language based on the pi-calculus
Pict: A programming language based on the pi-calculusPict: A programming language based on the pi-calculus
Pict: A programming language based on the pi-calculus
 
Lecture1
Lecture1Lecture1
Lecture1
 
20 basic computer mcqs
20 basic computer mcqs20 basic computer mcqs
20 basic computer mcqs
 
OSMC 2014: Introduction into collectd | Florian Foster
OSMC 2014: Introduction into collectd | Florian FosterOSMC 2014: Introduction into collectd | Florian Foster
OSMC 2014: Introduction into collectd | Florian Foster
 
(2) collections algorithms
(2) collections algorithms(2) collections algorithms
(2) collections algorithms
 

Viewers also liked

Sample test-plan-template
Sample test-plan-templateSample test-plan-template
Sample test-plan-template
amikdamaru
 
cpd Focus on Value
cpd Focus on Valuecpd Focus on Value
cpd Focus on Value
Sukhvinder Singh
 
Physics Architectural Acoustics
Physics Architectural AcousticsPhysics Architectural Acoustics
Physics Architectural Acoustics
Sukhvinder Singh
 
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION KERNEL AND RANGE OF LINEAR TR...
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION   KERNEL AND RANGE OF LINEAR TR...Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION   KERNEL AND RANGE OF LINEAR TR...
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION KERNEL AND RANGE OF LINEAR TR...
Sukhvinder Singh
 
Linux Training Partner
Linux Training PartnerLinux Training Partner
Linux Training Partner
Faisal Shahzad
 
Nawb 2017
Nawb 2017Nawb 2017
Nawb 2017
Alan Rowland
 
Punto y linea sobre plano
Punto y linea sobre planoPunto y linea sobre plano
Punto y linea sobre plano
Natalia Rodríguez
 
Toksikologi Lingkungan
Toksikologi LingkunganToksikologi Lingkungan
Toksikologi Lingkungan
Pangestu Rahayu
 
Interpersonal attraction [autosaved] save
Interpersonal attraction [autosaved] saveInterpersonal attraction [autosaved] save
Interpersonal attraction [autosaved] save
Yi El
 

Viewers also liked (9)

Sample test-plan-template
Sample test-plan-templateSample test-plan-template
Sample test-plan-template
 
cpd Focus on Value
cpd Focus on Valuecpd Focus on Value
cpd Focus on Value
 
Physics Architectural Acoustics
Physics Architectural AcousticsPhysics Architectural Acoustics
Physics Architectural Acoustics
 
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION KERNEL AND RANGE OF LINEAR TR...
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION   KERNEL AND RANGE OF LINEAR TR...Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION   KERNEL AND RANGE OF LINEAR TR...
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION KERNEL AND RANGE OF LINEAR TR...
 
Linux Training Partner
Linux Training PartnerLinux Training Partner
Linux Training Partner
 
Nawb 2017
Nawb 2017Nawb 2017
Nawb 2017
 
Punto y linea sobre plano
Punto y linea sobre planoPunto y linea sobre plano
Punto y linea sobre plano
 
Toksikologi Lingkungan
Toksikologi LingkunganToksikologi Lingkungan
Toksikologi Lingkungan
 
Interpersonal attraction [autosaved] save
Interpersonal attraction [autosaved] saveInterpersonal attraction [autosaved] save
Interpersonal attraction [autosaved] save
 

Similar to Cpu.ppt INTRODUCTION TO “C”

Lecture 2
Lecture 2Lecture 2
Lecture 2
Mahfuzur Rahman
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
Kathmandu University
 
Basics of C Lecture 2[16097].pptx
Basics of C Lecture 2[16097].pptxBasics of C Lecture 2[16097].pptx
Basics of C Lecture 2[16097].pptx
CoolGamer16
 
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
Malikireddy Bramhananda Reddy
 
C languaGE UNIT-1
C languaGE UNIT-1C languaGE UNIT-1
C language unit-1
C language unit-1C language unit-1
INTRODUCTION TO C PROGRAMMING in basic c language
INTRODUCTION TO C PROGRAMMING in basic c languageINTRODUCTION TO C PROGRAMMING in basic c language
INTRODUCTION TO C PROGRAMMING in basic c language
GOKULKANNANMMECLECTC
 
67404923-C-Programming-Tutorials-Doc.pdf
67404923-C-Programming-Tutorials-Doc.pdf67404923-C-Programming-Tutorials-Doc.pdf
67404923-C-Programming-Tutorials-Doc.pdf
Rajb54
 
C som-programmeringssprog-bt
C som-programmeringssprog-btC som-programmeringssprog-bt
C som-programmeringssprog-bt
InfinIT - Innovationsnetværket for it
 
c-introduction.pptx
c-introduction.pptxc-introduction.pptx
c-introduction.pptx
Mangala R
 
Unit ii
Unit   iiUnit   ii
Unit ii
sathisaran
 
Csc240 -lecture_3
Csc240  -lecture_3Csc240  -lecture_3
Csc240 -lecture_3
Ainuddin Yousufzai
 
C_Intro.ppt
C_Intro.pptC_Intro.ppt
C_Intro.ppt
gitesh_nagar
 
Basic c
Basic cBasic c
Basic c
Veera Karthi
 
C tutorials
C tutorialsC tutorials
C tutorials
Amit Kapoor
 
Basics of C Prog Lang.pdf
Basics of C Prog Lang.pdfBasics of C Prog Lang.pdf
Basics of C Prog Lang.pdf
KalighatOkira
 
Programming using c++ tool
Programming using c++ toolProgramming using c++ tool
Programming using c++ tool
Abdullah Jan
 
Intro to .NET and Core C#
Intro to .NET and Core C#Intro to .NET and Core C#
Intro to .NET and Core C#
Jussi Pohjolainen
 
C_Programming_Notes_ICE
C_Programming_Notes_ICEC_Programming_Notes_ICE
C_Programming_Notes_ICE
Gilbert NZABONITEGEKA
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
marvellous2
 

Similar to Cpu.ppt INTRODUCTION TO “C” (20)

Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
 
Basics of C Lecture 2[16097].pptx
Basics of C Lecture 2[16097].pptxBasics of C Lecture 2[16097].pptx
Basics of C Lecture 2[16097].pptx
 
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
 
C language unit-1
C language unit-1C language unit-1
C language unit-1
 
INTRODUCTION TO C PROGRAMMING in basic c language
INTRODUCTION TO C PROGRAMMING in basic c languageINTRODUCTION TO C PROGRAMMING in basic c language
INTRODUCTION TO C PROGRAMMING in basic c language
 
67404923-C-Programming-Tutorials-Doc.pdf
67404923-C-Programming-Tutorials-Doc.pdf67404923-C-Programming-Tutorials-Doc.pdf
67404923-C-Programming-Tutorials-Doc.pdf
 
C som-programmeringssprog-bt
C som-programmeringssprog-btC som-programmeringssprog-bt
C som-programmeringssprog-bt
 
c-introduction.pptx
c-introduction.pptxc-introduction.pptx
c-introduction.pptx
 
Unit ii
Unit   iiUnit   ii
Unit ii
 
Csc240 -lecture_3
Csc240  -lecture_3Csc240  -lecture_3
Csc240 -lecture_3
 
C_Intro.ppt
C_Intro.pptC_Intro.ppt
C_Intro.ppt
 
Basic c
Basic cBasic c
Basic c
 
C tutorials
C tutorialsC tutorials
C tutorials
 
Basics of C Prog Lang.pdf
Basics of C Prog Lang.pdfBasics of C Prog Lang.pdf
Basics of C Prog Lang.pdf
 
Programming using c++ tool
Programming using c++ toolProgramming using c++ tool
Programming using c++ tool
 
Intro to .NET and Core C#
Intro to .NET and Core C#Intro to .NET and Core C#
Intro to .NET and Core C#
 
C_Programming_Notes_ICE
C_Programming_Notes_ICEC_Programming_Notes_ICE
C_Programming_Notes_ICE
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 

More from Sukhvinder Singh

Uts ppt Urban forms and structure: Point, Linear, Radial, and Poly-nuclear de...
Uts ppt Urban forms and structure: Point, Linear, Radial, and Poly-nuclear de...Uts ppt Urban forms and structure: Point, Linear, Radial, and Poly-nuclear de...
Uts ppt Urban forms and structure: Point, Linear, Radial, and Poly-nuclear de...
Sukhvinder Singh
 
Uts Travel Demand
Uts Travel Demand Uts Travel Demand
Uts Travel Demand
Sukhvinder Singh
 
Advanced Construction Equipments :Methods of field compaction
 Advanced Construction Equipments :Methods of field compaction  Advanced Construction Equipments :Methods of field compaction
Advanced Construction Equipments :Methods of field compaction
Sukhvinder Singh
 
Wwe Biological unit processes
 Wwe Biological unit processes  Wwe Biological unit processes
Wwe Biological unit processes
Sukhvinder Singh
 
Rbte Drainage system in tunnel
 Rbte Drainage system in tunnel Rbte Drainage system in tunnel
Rbte Drainage system in tunnel
Sukhvinder Singh
 
Navier-Stokes Equation of Motion
 Navier-Stokes Equation of Motion  Navier-Stokes Equation of Motion
Navier-Stokes Equation of Motion
Sukhvinder Singh
 
Types of isolated footing and design
Types of isolated footing and design Types of isolated footing and design
Types of isolated footing and design
Sukhvinder Singh
 
Btp Town Planning in Ancient India
Btp Town Planning in Ancient IndiaBtp Town Planning in Ancient India
Btp Town Planning in Ancient India
Sukhvinder Singh
 
Thin cylinders 1
Thin cylinders 1Thin cylinders 1
Thin cylinders 1
Sukhvinder Singh
 
Hydration of cement
Hydration of cementHydration of cement
Hydration of cement
Sukhvinder Singh
 
Surveying ppt : COMPONENETS OF TRANSIT THEODOLITE
Surveying ppt : COMPONENETS OF TRANSIT  THEODOLITESurveying ppt : COMPONENETS OF TRANSIT  THEODOLITE
Surveying ppt : COMPONENETS OF TRANSIT THEODOLITE
Sukhvinder Singh
 
AEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesAEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactories
Sukhvinder Singh
 
Bc.ppt METHOD OF IMPROVING SOIL BEARING CAPPACITY
Bc.ppt METHOD OF IMPROVING SOIL BEARING CAPPACITYBc.ppt METHOD OF IMPROVING SOIL BEARING CAPPACITY
Bc.ppt METHOD OF IMPROVING SOIL BEARING CAPPACITY
Sukhvinder Singh
 
aem : Fourier series of Even and Odd Function
aem :  Fourier series of Even and Odd Functionaem :  Fourier series of Even and Odd Function
aem : Fourier series of Even and Odd Function
Sukhvinder Singh
 
EEE Introduction to Capacitors and Charging and Discharging of capacitors.
EEE  Introduction to Capacitors and Charging and Discharging of capacitors.EEE  Introduction to Capacitors and Charging and Discharging of capacitors.
EEE Introduction to Capacitors and Charging and Discharging of capacitors.
Sukhvinder Singh
 
Structural analysis 2
Structural analysis 2Structural analysis 2
Structural analysis 2
Sukhvinder Singh
 
Soil MEchanics
Soil MEchanicsSoil MEchanics
Soil MEchanics
Sukhvinder Singh
 

More from Sukhvinder Singh (17)

Uts ppt Urban forms and structure: Point, Linear, Radial, and Poly-nuclear de...
Uts ppt Urban forms and structure: Point, Linear, Radial, and Poly-nuclear de...Uts ppt Urban forms and structure: Point, Linear, Radial, and Poly-nuclear de...
Uts ppt Urban forms and structure: Point, Linear, Radial, and Poly-nuclear de...
 
Uts Travel Demand
Uts Travel Demand Uts Travel Demand
Uts Travel Demand
 
Advanced Construction Equipments :Methods of field compaction
 Advanced Construction Equipments :Methods of field compaction  Advanced Construction Equipments :Methods of field compaction
Advanced Construction Equipments :Methods of field compaction
 
Wwe Biological unit processes
 Wwe Biological unit processes  Wwe Biological unit processes
Wwe Biological unit processes
 
Rbte Drainage system in tunnel
 Rbte Drainage system in tunnel Rbte Drainage system in tunnel
Rbte Drainage system in tunnel
 
Navier-Stokes Equation of Motion
 Navier-Stokes Equation of Motion  Navier-Stokes Equation of Motion
Navier-Stokes Equation of Motion
 
Types of isolated footing and design
Types of isolated footing and design Types of isolated footing and design
Types of isolated footing and design
 
Btp Town Planning in Ancient India
Btp Town Planning in Ancient IndiaBtp Town Planning in Ancient India
Btp Town Planning in Ancient India
 
Thin cylinders 1
Thin cylinders 1Thin cylinders 1
Thin cylinders 1
 
Hydration of cement
Hydration of cementHydration of cement
Hydration of cement
 
Surveying ppt : COMPONENETS OF TRANSIT THEODOLITE
Surveying ppt : COMPONENETS OF TRANSIT  THEODOLITESurveying ppt : COMPONENETS OF TRANSIT  THEODOLITE
Surveying ppt : COMPONENETS OF TRANSIT THEODOLITE
 
AEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesAEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactories
 
Bc.ppt METHOD OF IMPROVING SOIL BEARING CAPPACITY
Bc.ppt METHOD OF IMPROVING SOIL BEARING CAPPACITYBc.ppt METHOD OF IMPROVING SOIL BEARING CAPPACITY
Bc.ppt METHOD OF IMPROVING SOIL BEARING CAPPACITY
 
aem : Fourier series of Even and Odd Function
aem :  Fourier series of Even and Odd Functionaem :  Fourier series of Even and Odd Function
aem : Fourier series of Even and Odd Function
 
EEE Introduction to Capacitors and Charging and Discharging of capacitors.
EEE  Introduction to Capacitors and Charging and Discharging of capacitors.EEE  Introduction to Capacitors and Charging and Discharging of capacitors.
EEE Introduction to Capacitors and Charging and Discharging of capacitors.
 
Structural analysis 2
Structural analysis 2Structural analysis 2
Structural analysis 2
 
Soil MEchanics
Soil MEchanicsSoil MEchanics
Soil MEchanics
 

Recently uploaded

在线办理(lboro毕业证书)拉夫堡大学毕业证学历证书一模一样
在线办理(lboro毕业证书)拉夫堡大学毕业证学历证书一模一样在线办理(lboro毕业证书)拉夫堡大学毕业证学历证书一模一样
在线办理(lboro毕业证书)拉夫堡大学毕业证学历证书一模一样
pjq9n1lk
 
Climate change & action required action
Climate change &  action required actionClimate change &  action required action
Climate change & action required action
hando2845
 
Download the Latest OSHA 10 Answers PDF : oyetrade.com
Download the Latest OSHA 10 Answers PDF : oyetrade.comDownload the Latest OSHA 10 Answers PDF : oyetrade.com
Download the Latest OSHA 10 Answers PDF : oyetrade.com
Narendra Jayas
 
一比一原版(Glasgow毕业证)英国格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证)英国格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证)英国格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证)英国格拉斯哥大学毕业证如何办理
aonx8o5f
 
快速办理(Calabria毕业证书)卡拉布里亚大学毕业证在读证明一模一样
快速办理(Calabria毕业证书)卡拉布里亚大学毕业证在读证明一模一样快速办理(Calabria毕业证书)卡拉布里亚大学毕业证在读证明一模一样
快速办理(Calabria毕业证书)卡拉布里亚大学毕业证在读证明一模一样
astuz
 
world-environment-day-2024-240601103559-14f4c0b4.pptx
world-environment-day-2024-240601103559-14f4c0b4.pptxworld-environment-day-2024-240601103559-14f4c0b4.pptx
world-environment-day-2024-240601103559-14f4c0b4.pptx
mfasna35
 
Effect Of Temperature On Plants Development.pptx
Effect Of Temperature On Plants Development.pptxEffect Of Temperature On Plants Development.pptx
Effect Of Temperature On Plants Development.pptx
AhtshamKhan9
 
Lessons from operationalizing integrated landscape approaches
Lessons from operationalizing integrated landscape approachesLessons from operationalizing integrated landscape approaches
Lessons from operationalizing integrated landscape approaches
CIFOR-ICRAF
 
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
xeexm
 
原版制作(Newcastle毕业证书)纽卡斯尔大学毕业证在读证明一模一样
原版制作(Newcastle毕业证书)纽卡斯尔大学毕业证在读证明一模一样原版制作(Newcastle毕业证书)纽卡斯尔大学毕业证在读证明一模一样
原版制作(Newcastle毕业证书)纽卡斯尔大学毕业证在读证明一模一样
p2npnqp
 
一比一原版西澳大学毕业证学历证书如何办理
一比一原版西澳大学毕业证学历证书如何办理一比一原版西澳大学毕业证学历证书如何办理
一比一原版西澳大学毕业证学历证书如何办理
yxfus
 
原版制作(Manitoba毕业证书)曼尼托巴大学毕业证学位证一模一样
原版制作(Manitoba毕业证书)曼尼托巴大学毕业证学位证一模一样原版制作(Manitoba毕业证书)曼尼托巴大学毕业证学位证一模一样
原版制作(Manitoba毕业证书)曼尼托巴大学毕业证学位证一模一样
mvrpcz6
 
学校原版(unuk学位证书)英国牛津布鲁克斯大学毕业证硕士文凭原版一模一样
学校原版(unuk学位证书)英国牛津布鲁克斯大学毕业证硕士文凭原版一模一样学校原版(unuk学位证书)英国牛津布鲁克斯大学毕业证硕士文凭原版一模一样
学校原版(unuk学位证书)英国牛津布鲁克斯大学毕业证硕士文凭原版一模一样
ehfyqtu
 
BASIC CONCEPT OF ENVIRONMENT AND DIFFERENT CONSTITUTENET OF ENVIRONMENT
BASIC CONCEPT OF ENVIRONMENT AND DIFFERENT CONSTITUTENET OF ENVIRONMENTBASIC CONCEPT OF ENVIRONMENT AND DIFFERENT CONSTITUTENET OF ENVIRONMENT
BASIC CONCEPT OF ENVIRONMENT AND DIFFERENT CONSTITUTENET OF ENVIRONMENT
AmitKumar619042
 
Formulation of aramang baked products enriched with malunggay
Formulation of aramang baked products enriched with malunggayFormulation of aramang baked products enriched with malunggay
Formulation of aramang baked products enriched with malunggay
Open Access Research Paper
 
Evolving Lifecycles with High Resolution Site Characterization (HRSC) and 3-D...
Evolving Lifecycles with High Resolution Site Characterization (HRSC) and 3-D...Evolving Lifecycles with High Resolution Site Characterization (HRSC) and 3-D...
Evolving Lifecycles with High Resolution Site Characterization (HRSC) and 3-D...
Joshua Orris
 
SOIL AND ITS FORMATION bjbhjbhvhvhjvhj .pptx
SOIL AND ITS FORMATION bjbhjbhvhvhjvhj .pptxSOIL AND ITS FORMATION bjbhjbhvhvhjvhj .pptx
SOIL AND ITS FORMATION bjbhjbhvhvhjvhj .pptx
anmolbansal1969
 
REPORT-PRESENTATION BY CHIEF SECRETARY, ANDAMAN NICOBAR ADMINISTRATION IN OA ...
REPORT-PRESENTATION BY CHIEF SECRETARY, ANDAMAN NICOBAR ADMINISTRATION IN OA ...REPORT-PRESENTATION BY CHIEF SECRETARY, ANDAMAN NICOBAR ADMINISTRATION IN OA ...
REPORT-PRESENTATION BY CHIEF SECRETARY, ANDAMAN NICOBAR ADMINISTRATION IN OA ...
pareeksulkash
 
Monitor indicators of genetic diversity from space using Earth Observation data
Monitor indicators of genetic diversity from space using Earth Observation dataMonitor indicators of genetic diversity from space using Earth Observation data
Monitor indicators of genetic diversity from space using Earth Observation data
Spatial Genetics
 
Biomimicry in agriculture: Nature-Inspired Solutions for a Greener Future
Biomimicry in agriculture: Nature-Inspired Solutions for a Greener FutureBiomimicry in agriculture: Nature-Inspired Solutions for a Greener Future
Biomimicry in agriculture: Nature-Inspired Solutions for a Greener Future
Dr. P.B.Dharmasena
 

Recently uploaded (20)

在线办理(lboro毕业证书)拉夫堡大学毕业证学历证书一模一样
在线办理(lboro毕业证书)拉夫堡大学毕业证学历证书一模一样在线办理(lboro毕业证书)拉夫堡大学毕业证学历证书一模一样
在线办理(lboro毕业证书)拉夫堡大学毕业证学历证书一模一样
 
Climate change & action required action
Climate change &  action required actionClimate change &  action required action
Climate change & action required action
 
Download the Latest OSHA 10 Answers PDF : oyetrade.com
Download the Latest OSHA 10 Answers PDF : oyetrade.comDownload the Latest OSHA 10 Answers PDF : oyetrade.com
Download the Latest OSHA 10 Answers PDF : oyetrade.com
 
一比一原版(Glasgow毕业证)英国格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证)英国格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证)英国格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证)英国格拉斯哥大学毕业证如何办理
 
快速办理(Calabria毕业证书)卡拉布里亚大学毕业证在读证明一模一样
快速办理(Calabria毕业证书)卡拉布里亚大学毕业证在读证明一模一样快速办理(Calabria毕业证书)卡拉布里亚大学毕业证在读证明一模一样
快速办理(Calabria毕业证书)卡拉布里亚大学毕业证在读证明一模一样
 
world-environment-day-2024-240601103559-14f4c0b4.pptx
world-environment-day-2024-240601103559-14f4c0b4.pptxworld-environment-day-2024-240601103559-14f4c0b4.pptx
world-environment-day-2024-240601103559-14f4c0b4.pptx
 
Effect Of Temperature On Plants Development.pptx
Effect Of Temperature On Plants Development.pptxEffect Of Temperature On Plants Development.pptx
Effect Of Temperature On Plants Development.pptx
 
Lessons from operationalizing integrated landscape approaches
Lessons from operationalizing integrated landscape approachesLessons from operationalizing integrated landscape approaches
Lessons from operationalizing integrated landscape approaches
 
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
按照学校原版(UAL文凭证书)伦敦艺术大学毕业证快速办理
 
原版制作(Newcastle毕业证书)纽卡斯尔大学毕业证在读证明一模一样
原版制作(Newcastle毕业证书)纽卡斯尔大学毕业证在读证明一模一样原版制作(Newcastle毕业证书)纽卡斯尔大学毕业证在读证明一模一样
原版制作(Newcastle毕业证书)纽卡斯尔大学毕业证在读证明一模一样
 
一比一原版西澳大学毕业证学历证书如何办理
一比一原版西澳大学毕业证学历证书如何办理一比一原版西澳大学毕业证学历证书如何办理
一比一原版西澳大学毕业证学历证书如何办理
 
原版制作(Manitoba毕业证书)曼尼托巴大学毕业证学位证一模一样
原版制作(Manitoba毕业证书)曼尼托巴大学毕业证学位证一模一样原版制作(Manitoba毕业证书)曼尼托巴大学毕业证学位证一模一样
原版制作(Manitoba毕业证书)曼尼托巴大学毕业证学位证一模一样
 
学校原版(unuk学位证书)英国牛津布鲁克斯大学毕业证硕士文凭原版一模一样
学校原版(unuk学位证书)英国牛津布鲁克斯大学毕业证硕士文凭原版一模一样学校原版(unuk学位证书)英国牛津布鲁克斯大学毕业证硕士文凭原版一模一样
学校原版(unuk学位证书)英国牛津布鲁克斯大学毕业证硕士文凭原版一模一样
 
BASIC CONCEPT OF ENVIRONMENT AND DIFFERENT CONSTITUTENET OF ENVIRONMENT
BASIC CONCEPT OF ENVIRONMENT AND DIFFERENT CONSTITUTENET OF ENVIRONMENTBASIC CONCEPT OF ENVIRONMENT AND DIFFERENT CONSTITUTENET OF ENVIRONMENT
BASIC CONCEPT OF ENVIRONMENT AND DIFFERENT CONSTITUTENET OF ENVIRONMENT
 
Formulation of aramang baked products enriched with malunggay
Formulation of aramang baked products enriched with malunggayFormulation of aramang baked products enriched with malunggay
Formulation of aramang baked products enriched with malunggay
 
Evolving Lifecycles with High Resolution Site Characterization (HRSC) and 3-D...
Evolving Lifecycles with High Resolution Site Characterization (HRSC) and 3-D...Evolving Lifecycles with High Resolution Site Characterization (HRSC) and 3-D...
Evolving Lifecycles with High Resolution Site Characterization (HRSC) and 3-D...
 
SOIL AND ITS FORMATION bjbhjbhvhvhjvhj .pptx
SOIL AND ITS FORMATION bjbhjbhvhvhjvhj .pptxSOIL AND ITS FORMATION bjbhjbhvhvhjvhj .pptx
SOIL AND ITS FORMATION bjbhjbhvhvhjvhj .pptx
 
REPORT-PRESENTATION BY CHIEF SECRETARY, ANDAMAN NICOBAR ADMINISTRATION IN OA ...
REPORT-PRESENTATION BY CHIEF SECRETARY, ANDAMAN NICOBAR ADMINISTRATION IN OA ...REPORT-PRESENTATION BY CHIEF SECRETARY, ANDAMAN NICOBAR ADMINISTRATION IN OA ...
REPORT-PRESENTATION BY CHIEF SECRETARY, ANDAMAN NICOBAR ADMINISTRATION IN OA ...
 
Monitor indicators of genetic diversity from space using Earth Observation data
Monitor indicators of genetic diversity from space using Earth Observation dataMonitor indicators of genetic diversity from space using Earth Observation data
Monitor indicators of genetic diversity from space using Earth Observation data
 
Biomimicry in agriculture: Nature-Inspired Solutions for a Greener Future
Biomimicry in agriculture: Nature-Inspired Solutions for a Greener FutureBiomimicry in agriculture: Nature-Inspired Solutions for a Greener Future
Biomimicry in agriculture: Nature-Inspired Solutions for a Greener Future
 

Cpu.ppt INTRODUCTION TO “C”

  • 1. ACTIVE LEARNING ASSIGNMENT TOPIC: INTRODUCTION TO “C”
  • 2. History Of C • Created By Dennis Ritchie At Bell Labs In 1972 • Originally Created To Design And Support The Unix Operating System. • C Compilers Are Available For Virtually Every Platform • In 1983 The American National Standards Institute (ANSI) Standardized C to be called ANSI Standard C. • ANSI C Programs That You Write Should Work With Any ANSI C Compiler.
  • 3. Features of C • Efficient & Fast. • Variety Of Data Types & Powerful Operators. • Highly Portable. • Well Suited For Structured Programming. • Its Ability To Extend Itself. • A Collection Of Functions.
  • 4. Use Of C • Operating Systems • Language Compilers • Assemblers • Text Editors • Print Spoolers • Network Drivers • Modern Programs
  • 5. Data Types • Different Types Of Variables Allow The Storing Different Types Of Data, Hence The Name “Data Types” • E.g. If You Had To Store The Numbers 10 And 10.0, C Provides Two Different Data Types.
  • 6. Basics Of Variables char: A Single Byte, Holds One Character e.g. The Letter ‘a’, Although They are Stored As Integer Values Standardized As ASCII Numbers int: An Integer Of Fixed Length, Usually 4 bytes / 32 bits. E.g. The Number 10 Can Be Stored In A Variable Of Type Int. float: Single-Precision Floating Point. e.g. The Number 10.67 double: Same As A float But With Double Precision
  • 7. Basic Things For C • Link Section- It Contains Header File. Mainly Two Header Files:- • 1 > stdio.h:-Standard Input Output Header File(For printf, scanf, etc.) • 2> conio.h:-Console Input Output Header File(For clrscr(), getch(), etc.) • Main Function:- It Contains Main Logic Of The Program.
  • 9.
  • 10. C Tokens • C Tokens Are The Basic Buildings Blocks In C Language Which Are Constructed Together To Write A C Program. • Each And Every Smallest Individual Units In A C Program Are Known As C Tokens.
  • 11. C Tokens Example Program: • int main() { int x, y, total; x = 10, y = 20; total = x + y; Printf (“Total = %d n”, total); } C Tokens Are Of Six Types • Keywords (eg: int) • Identifiers (eg: main, total) • Constants (eg: 10, 20) • Strings (eg: “total”,) • Special symbols (eg: (), {}) • Operators (eg: +, /,-,*)