SlideShare uma empresa Scribd logo
1 de 13
Prepared By:
Hemdeep Bhavsar
Mechatronics Engineer
 BASIC, FORTON, COBOL, PASCAL – High level
languages. These are application specific i.e. they are
used to develop application related to particular field.
 Assembly language and machine language – low level
languages. These are machine level languages and
designed to give machine efficiency.
 C is middle level language. It provides facilities of the
both high level language and low level language. It is not
application specific. It can be used to develop many
different types of the applications. Thus C is a general. It
is not hardware or system dependent. Hence portable
programs can be written with C compiler and operating
system can be written using C.
 General purpose structured language : the
instructions consists of a algebraic expression
supported with English keyword such as if, else, for,
goto, continue, break etc.
 Programming language : It is simple to implement and
highly effective.
 Compatible language : It can run on all machines right
from 8088 to recent machines.
 Concise language : Only a small set of instructions are
required to get a task done.
 Rich set of built in functions.
 Provides variety of the data types, operators and
functions which makes it’s code highly efficient and fast.
 Supports the pointers which can directly access the
address of the variable in the computer’s memory.
 Has only 32 keywords.
 Modular programming : It is a logical collection of a
one or more functions of modules.
 Provide dynamic memory allocation.
 Extensible : continuously adds the library functions
supported by the C library.
 Middle level language : it provides high level
programming supports as well as low level programming
supports .
 C does not supports inheritance, makes it more
complex to use because everything has to be written
from scratch.
 The switch statement doesn’t allow float data type.
 The switch statement doesn’t allow logical operators.
 Pointers are difficult to handle in ‘C’.
 Provide only one major memory allocation function:
malloc
 C statements having a specific and complicated
syntax that programmer needs to learn.
 Compilers, libraries, and interpreters of other high
level languages are often implemented in C.
 Right from creating other software’s like “Unix”,
“Windows”, and many Antivirus etc. C is also
used in developing many applications.
 C is also used to write programs like “ Embedded
Device”, Chip designing, Industrial Automobile
production etc.
 It is a combination of the high level language and
low level language.
Documentation section
/* tells the purpose of the program */
// program to add two numbers.
Link section
#include<stdio.h>
Definition section
#define PI 3.14
Global variable declaration
main() function section
{
variable declaration/initialization;
program statements;
}
Subprogram section
Function 1()
{
statements;
}
 Documentation section consists of a statements.
They are used in a program to improve the
readability and understanding.
 Comments are not executed in the programming.
 Comments help to understand the program by
user.
 Comments help to understand logic of the
program.
 Single line comment denoted by //.
 Multiple line comments denoted by /*……*/.
 It is consists of a preprocessor directives which
link the compiler to the standard library functions.
 We include the different library functions in the C.
 They are availabele in the header files.
 #include<stdio.h> is a header file consists of a
standard IO functions.
 #include< math.h> consists of a mathematical
functions.
 Defines all symbolic constants.
 It is declares global variable.
 They are used in more than one functions.
 They are delcared outside the all functions.
 Is a special and important function used ny C
program to tell compiler where the program starts.
 Every program has exactly one main() function.
 If it consists of more than one compiler can’t tell
from where program has to be start.
 The opening’{‘ and closing ‘}’ braces are indicates
begin and end of the main() function.
 All C statements always terminate with the a
semicolon(;).
Intoduction to c language

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

presentation on the topic: Introduction to the C language
presentation on the topic: Introduction to the C languagepresentation on the topic: Introduction to the C language
presentation on the topic: Introduction to the C language
 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.
 
C lecture notes new
C lecture notes newC lecture notes new
C lecture notes new
 
Language Translator ( Compiler)
Language Translator ( Compiler)Language Translator ( Compiler)
Language Translator ( Compiler)
 
LANGUAGE TRANSLATOR
LANGUAGE TRANSLATORLANGUAGE TRANSLATOR
LANGUAGE TRANSLATOR
 
Language translator
Language translatorLanguage translator
Language translator
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
Computer Language Translator
Computer Language TranslatorComputer Language Translator
Computer Language Translator
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Language processor
Language processorLanguage processor
Language processor
 
Presentation on C programming language
Presentation on C programming languagePresentation on C programming language
Presentation on C programming language
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Assembler
AssemblerAssembler
Assembler
 
Planning to computer program(southeast university)
Planning to computer program(southeast university)Planning to computer program(southeast university)
Planning to computer program(southeast university)
 
Computer programming all chapters
Computer programming all chaptersComputer programming all chapters
Computer programming all chapters
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Types of system software
Types of system softwareTypes of system software
Types of system software
 
Notacd07
Notacd07Notacd07
Notacd07
 
Chapter 5( programming) answer
Chapter 5( programming) answerChapter 5( programming) answer
Chapter 5( programming) answer
 

Semelhante a Intoduction to c language

Introduction to C Programming Language.pptx
Introduction to C Programming Language.pptxIntroduction to C Programming Language.pptx
Introduction to C Programming Language.pptxAnithaTAssistantProf
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfSubramanyambharathis
 
Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Shipra Swati
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsssuserf86fba
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programmingMukesh Tekwani
 
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTTC programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTTBatra Centre
 
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshuunit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshuGauravRawat830030
 
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Nuzhat Memon
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languagesraksharao
 

Semelhante a Intoduction to c language (20)

Programming in c
Programming in cProgramming in c
Programming in c
 
Introduction to C Programming Language.pptx
Introduction to C Programming Language.pptxIntroduction to C Programming Language.pptx
Introduction to C Programming Language.pptx
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
 
Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7Fundamental of Information Technology - UNIT 7
Fundamental of Information Technology - UNIT 7
 
Introduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic conceptsIntroduction To C++ programming and its basic concepts
Introduction To C++ programming and its basic concepts
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
 
Programming in C
Programming in CProgramming in C
Programming in C
 
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTTC programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
C programming notes BATRACOMPUTER CENTRE IN Ambala CANTT
 
C.pdf
C.pdfC.pdf
C.pdf
 
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshuunit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
unit 1 programming in c ztgdawte efhgfhj ewnfbshyufh fsfyshu
 
Unit 1
Unit 1Unit 1
Unit 1
 
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 10 introduction to c language (part1)
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
 
COMPILER DESIGN.docx
COMPILER DESIGN.docxCOMPILER DESIGN.docx
COMPILER DESIGN.docx
 
C programming
C programmingC programming
C programming
 
C programming
C programming C programming
C programming
 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
C programme presentation
C programme presentationC programme presentation
C programme presentation
 

Mais de Student

PROJECTION OF POINTS
PROJECTION OF POINTSPROJECTION OF POINTS
PROJECTION OF POINTSStudent
 
Engineering Planes
Engineering PlanesEngineering Planes
Engineering PlanesStudent
 
Orthographic projection
Orthographic projectionOrthographic projection
Orthographic projectionStudent
 
Engineering line
Engineering lineEngineering line
Engineering lineStudent
 
Engineering graphics
Engineering graphicsEngineering graphics
Engineering graphicsStudent
 
Engineering Curves
Engineering CurvesEngineering Curves
Engineering CurvesStudent
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithmsStudent
 
Contributor personality development unit 2
Contributor personality  development unit 2Contributor personality  development unit 2
Contributor personality development unit 2Student
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationStudent
 
Eme (air compressors)
Eme (air compressors)Eme (air compressors)
Eme (air compressors)Student
 
Flowcharts and algorithms
Flowcharts and algorithmsFlowcharts and algorithms
Flowcharts and algorithmsStudent
 
Noise pollution
Noise pollutionNoise pollution
Noise pollutionStudent
 
Land pollution
Land pollutionLand pollution
Land pollutionStudent
 
13 mc558 eg
13 mc558 eg13 mc558 eg
13 mc558 egStudent
 
Women social activities
Women social activitiesWomen social activities
Women social activitiesStudent
 

Mais de Student (16)

Solids
SolidsSolids
Solids
 
PROJECTION OF POINTS
PROJECTION OF POINTSPROJECTION OF POINTS
PROJECTION OF POINTS
 
Engineering Planes
Engineering PlanesEngineering Planes
Engineering Planes
 
Orthographic projection
Orthographic projectionOrthographic projection
Orthographic projection
 
Engineering line
Engineering lineEngineering line
Engineering line
 
Engineering graphics
Engineering graphicsEngineering graphics
Engineering graphics
 
Engineering Curves
Engineering CurvesEngineering Curves
Engineering Curves
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
 
Contributor personality development unit 2
Contributor personality  development unit 2Contributor personality  development unit 2
Contributor personality development unit 2
 
Gaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equationGaussian elimination method & homogeneous linear equation
Gaussian elimination method & homogeneous linear equation
 
Eme (air compressors)
Eme (air compressors)Eme (air compressors)
Eme (air compressors)
 
Flowcharts and algorithms
Flowcharts and algorithmsFlowcharts and algorithms
Flowcharts and algorithms
 
Noise pollution
Noise pollutionNoise pollution
Noise pollution
 
Land pollution
Land pollutionLand pollution
Land pollution
 
13 mc558 eg
13 mc558 eg13 mc558 eg
13 mc558 eg
 
Women social activities
Women social activitiesWomen social activities
Women social activities
 

Último

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 

Último (20)

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 

Intoduction to c language

  • 2.  BASIC, FORTON, COBOL, PASCAL – High level languages. These are application specific i.e. they are used to develop application related to particular field.  Assembly language and machine language – low level languages. These are machine level languages and designed to give machine efficiency.  C is middle level language. It provides facilities of the both high level language and low level language. It is not application specific. It can be used to develop many different types of the applications. Thus C is a general. It is not hardware or system dependent. Hence portable programs can be written with C compiler and operating system can be written using C.
  • 3.  General purpose structured language : the instructions consists of a algebraic expression supported with English keyword such as if, else, for, goto, continue, break etc.  Programming language : It is simple to implement and highly effective.  Compatible language : It can run on all machines right from 8088 to recent machines.  Concise language : Only a small set of instructions are required to get a task done.  Rich set of built in functions.  Provides variety of the data types, operators and functions which makes it’s code highly efficient and fast.
  • 4.  Supports the pointers which can directly access the address of the variable in the computer’s memory.  Has only 32 keywords.  Modular programming : It is a logical collection of a one or more functions of modules.  Provide dynamic memory allocation.  Extensible : continuously adds the library functions supported by the C library.  Middle level language : it provides high level programming supports as well as low level programming supports .
  • 5.  C does not supports inheritance, makes it more complex to use because everything has to be written from scratch.  The switch statement doesn’t allow float data type.  The switch statement doesn’t allow logical operators.  Pointers are difficult to handle in ‘C’.  Provide only one major memory allocation function: malloc  C statements having a specific and complicated syntax that programmer needs to learn.
  • 6.  Compilers, libraries, and interpreters of other high level languages are often implemented in C.  Right from creating other software’s like “Unix”, “Windows”, and many Antivirus etc. C is also used in developing many applications.  C is also used to write programs like “ Embedded Device”, Chip designing, Industrial Automobile production etc.  It is a combination of the high level language and low level language.
  • 7. Documentation section /* tells the purpose of the program */ // program to add two numbers. Link section #include<stdio.h> Definition section #define PI 3.14 Global variable declaration main() function section { variable declaration/initialization; program statements; } Subprogram section Function 1() { statements; }
  • 8.  Documentation section consists of a statements. They are used in a program to improve the readability and understanding.  Comments are not executed in the programming.  Comments help to understand the program by user.  Comments help to understand logic of the program.  Single line comment denoted by //.  Multiple line comments denoted by /*……*/.
  • 9.  It is consists of a preprocessor directives which link the compiler to the standard library functions.  We include the different library functions in the C.  They are availabele in the header files.  #include<stdio.h> is a header file consists of a standard IO functions.  #include< math.h> consists of a mathematical functions.
  • 10.  Defines all symbolic constants.
  • 11.  It is declares global variable.  They are used in more than one functions.  They are delcared outside the all functions.
  • 12.  Is a special and important function used ny C program to tell compiler where the program starts.  Every program has exactly one main() function.  If it consists of more than one compiler can’t tell from where program has to be start.  The opening’{‘ and closing ‘}’ braces are indicates begin and end of the main() function.  All C statements always terminate with the a semicolon(;).