SlideShare a Scribd company logo
1 of 27
COMPUTER
PROGRAMMING-I
CAP118
What is a programming language?
• Programming Language is
• A tool for instructing machines.
• A meansof communicating between programmers.
• A meansof controlling computerized devices.
• A notation for algorithms.
Programming Domains
• Scientific applications
• Businessapplications
• Artificial intelligence
• Systemsprogramming
• Scripting languages
• Special purposelanguages
Machine Language
• Machinelanguageisthelowest-level programming language.
• Machine languages are the only languages understood by
computers.
• A computer programming language consisting of binary or
hexadecimal instructions which a computer can respond to
directly.
Why Humans Don't Use Machine
Language
• Machine languages are almost impossible for humans to use
becausethey consist entirely of numbers.
• Programmers, therefore, use either a high-level programming
languageor an assembly language.
• An assembly language contains the same instructions as a
machine language, but the instructions
and variables have names instead of being just numbers.
Types of Programming Language
Assembly Language
• A low-level symbolic codeconverted by an assembler.
• Assembly language is converted into executable machine code by a
utility program referred to asan assembler likeNASM, MASM, etc.
• A processor understands only machine language instructions, which
arestringsof 1'sand 0's.
• However, machine language is too obscure and complex for using in
software development. So, the low-level assembly language is
designed for a specific family of processors that represents various
instructionsin symbolic codeand amoreunderstandableform.
Advantages of Assembly Language
Having an understanding of assembly languagemakesone
awareof −
•How programsinterfacewith OS, processor, and BIOS;
•How dataisrepresented in memory and other external devices;
•How theprocessor accessesand executesinstruction;
•How instructionsaccessand processdata;
•How aprogram accessesexternal devices.
High Level Language
• A high-level language is a programming language such
as C, FORTRAN, or Pascal that enables a programmer to
write programs that are more or less independent of a
particular typeof computer.
• Such languages are considered high-level because they are
closer to human languages.
Advantages of high-level languages
• Better portability (program runson many CPUs)
• Richer datatypesand memory management
• Natural structuresfor expressing flow of control
• Much better support for softwaremaintenance
• Much better support for softwarereuse
Translation Process of HLL
• Compiler: Translatesan entirehigh-level languageprogram
into machinecodebeforeit isexecuted.
• Interpreter: Simulatesahigh-level languageprogram,
translating commandsto machinecodealong theway, only
asneeded.
Compiler
Features of C language
• It is a robust language with rich set of built-in functions and operators
that can beused to writeany complex program.
• The C compiler combines the capabilities of an assembly language
with featuresof ahigh-level language.
• Programs Written in C are efficient and fast. This is due to its variety
of datatypeand powerful operators.
• C is highly portable this means that programs once written can be run
on another machineswith littleor no modification.
• Another important featureof C program, isitsability to extend itself.
Features of C language
C - Program Structure
A C program basically consistsof thefollowing parts−
•Preprocessor Commands
•Functions
•Variables
•Statements& Expressions
•Comments
Sample Program
• Let ustakealook at thevariouspartsof theaboveprogram −
• The first line of the program #include <stdio.h> is a preprocessor
command, which tells a C compiler to include stdio.h file before going to
actual compilation.
• The next line int main() is the main function where the program execution
begins.
• The next line /*...*/will be ignored by the compiler and it has been put to
add additional comments in the program. So such linesare called comments
in theprogram.
• The next line printf(...) is another function available in C which causes the
message"Hello, World!" to bedisplayed on thescreen.
• The next line return 0; terminates the main() function and returnsthevalue
0.
Character set of C
• It denotesany alphabet, digit or special symbol used to represent
information.
1.      Source characterset
                                a.      Alphabets
                                b.      Digits
                                c.      Special Characters
                                d.      WhiteSpaces
2.      Execution characterset
                                a.     EscapeSequence
Source character set
• ALPHABETS
            Uppercase letters  ----------  A-Z
            Lowercase letters  ----------  a-z
DIGITS   --------------------------------  0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Special Characters
WHITE SPACE CHARACTERS
Execution Character Set
• Certain ASCII characters are unprintable, which means they are not
displayed on the screen or printer. Those characters perform other
functions aside from displaying text. Examples are backspacing,
moving to anewline, or ringing abell.
• These are employed at the time of execution of the program.
Execution characters set are always represented by a backslash ()
followed by a character. Note that each one of character constants
represents one character, although they consist of two characters.
Thesecharacterscombinationsarecalled asescape sequence
Identifiers
• In C language identifiers are the names given to variables, constants,
functionsand user-definedata.
• Theseidentifier aredefined against aset of rules.
Keywords
C - Variables
• A variable is nothing but a name given to a storage area that our
programscan manipulate.
• Each variable in C has a specific type, which determines the size and
layout of thevariable'smemory;
• The name of a variable can be composed of letters, digits, and the
underscore character. It must begin with either a letter or an
underscore. Upper and lowercase letters are distinct because C is case-
sensitive. 
Types of Variable

More Related Content

What's hot (20)

Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
C programming tutorial
C programming tutorialC programming tutorial
C programming tutorial
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Chap 1-language processor
Chap 1-language processorChap 1-language processor
Chap 1-language processor
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
Programming in c
Programming in cProgramming in c
Programming in c
 
Introduction to basic programming
Introduction to basic programmingIntroduction to basic programming
Introduction to basic programming
 
C language
C languageC language
C language
 
C notes
C notesC notes
C notes
 
Algorithm and flowchart
Algorithm and flowchart Algorithm and flowchart
Algorithm and flowchart
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
 
History of C Programming Language
History of C Programming LanguageHistory of C Programming Language
History of C Programming Language
 
Formatted input and output
Formatted input and outputFormatted input and output
Formatted input and output
 
COMPUTER PROGRAMMING
COMPUTER PROGRAMMINGCOMPUTER PROGRAMMING
COMPUTER PROGRAMMING
 
Introduction to C Programming - I
Introduction to C Programming - I Introduction to C Programming - I
Introduction to C Programming - I
 
data types in C programming
data types in C programmingdata types in C programming
data types in C programming
 

Similar to introduction to C programming (C)

week 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptxweek 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptxnuruddinnnaim
 
Computer languages
Computer languagesComputer languages
Computer languagesAqdasNoor
 
FPL - Part 1 (Sem - I 2013 )
FPL - Part 1  (Sem - I  2013 ) FPL - Part 1  (Sem - I  2013 )
FPL - Part 1 (Sem - I 2013 ) Yogesh Deshpande
 
maincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptxmaincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptxKaruthayya
 
Embedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals masterEmbedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals masterHossam Hassan
 
X-CS-8.0 Programming in C Language 2022-2023.pdf
X-CS-8.0 Programming in C Language 2022-2023.pdfX-CS-8.0 Programming in C Language 2022-2023.pdf
X-CS-8.0 Programming in C Language 2022-2023.pdfAlefya1
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresNisarg Amin
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming VanessaBuensalida
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptxPmarkNorcio
 
introduction computer programming languages
introduction computer programming languages introduction computer programming languages
introduction computer programming languages BakhatAli3
 
Evolution of programming languages-migara presentation.pptx
Evolution of programming languages-migara presentation.pptxEvolution of programming languages-migara presentation.pptx
Evolution of programming languages-migara presentation.pptxDinithiGunarathna
 
Computer Programming In C.pptx
Computer Programming In C.pptxComputer Programming In C.pptx
Computer Programming In C.pptxchouguleamruta24
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer langkapil078
 

Similar to introduction to C programming (C) (20)

Computer languages
Computer languagesComputer languages
Computer languages
 
week 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptxweek 2 - INTRO TO PROGRAMMING.pptx
week 2 - INTRO TO PROGRAMMING.pptx
 
Computer languages
Computer languagesComputer languages
Computer languages
 
FPL - Part 1 (Sem - I 2013 )
FPL - Part 1  (Sem - I  2013 ) FPL - Part 1  (Sem - I  2013 )
FPL - Part 1 (Sem - I 2013 )
 
maincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptxmaincse-150510153437-lva1-app6892 (1).pptx
maincse-150510153437-lva1-app6892 (1).pptx
 
Unit ii
Unit   iiUnit   ii
Unit ii
 
Embedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals masterEmbedded c c++ programming fundamentals master
Embedded c c++ programming fundamentals master
 
X-CS-8.0 Programming in C Language 2022-2023.pdf
X-CS-8.0 Programming in C Language 2022-2023.pdfX-CS-8.0 Programming in C Language 2022-2023.pdf
X-CS-8.0 Programming in C Language 2022-2023.pdf
 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptx
 
introduction computer programming languages
introduction computer programming languages introduction computer programming languages
introduction computer programming languages
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
Evolution of programming languages-migara presentation.pptx
Evolution of programming languages-migara presentation.pptxEvolution of programming languages-migara presentation.pptx
Evolution of programming languages-migara presentation.pptx
 
10 lesson7
10 lesson710 lesson7
10 lesson7
 
Computer Programming In C.pptx
Computer Programming In C.pptxComputer Programming In C.pptx
Computer Programming In C.pptx
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 

Recently uploaded

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 

Recently uploaded (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 

introduction to C programming (C)

  • 2. What is a programming language? • Programming Language is • A tool for instructing machines. • A meansof communicating between programmers. • A meansof controlling computerized devices. • A notation for algorithms.
  • 3. Programming Domains • Scientific applications • Businessapplications • Artificial intelligence • Systemsprogramming • Scripting languages • Special purposelanguages
  • 4. Machine Language • Machinelanguageisthelowest-level programming language. • Machine languages are the only languages understood by computers. • A computer programming language consisting of binary or hexadecimal instructions which a computer can respond to directly.
  • 5. Why Humans Don't Use Machine Language
  • 6. • Machine languages are almost impossible for humans to use becausethey consist entirely of numbers. • Programmers, therefore, use either a high-level programming languageor an assembly language. • An assembly language contains the same instructions as a machine language, but the instructions and variables have names instead of being just numbers.
  • 8. Assembly Language • A low-level symbolic codeconverted by an assembler. • Assembly language is converted into executable machine code by a utility program referred to asan assembler likeNASM, MASM, etc. • A processor understands only machine language instructions, which arestringsof 1'sand 0's. • However, machine language is too obscure and complex for using in software development. So, the low-level assembly language is designed for a specific family of processors that represents various instructionsin symbolic codeand amoreunderstandableform.
  • 9. Advantages of Assembly Language Having an understanding of assembly languagemakesone awareof − •How programsinterfacewith OS, processor, and BIOS; •How dataisrepresented in memory and other external devices; •How theprocessor accessesand executesinstruction; •How instructionsaccessand processdata; •How aprogram accessesexternal devices.
  • 10. High Level Language • A high-level language is a programming language such as C, FORTRAN, or Pascal that enables a programmer to write programs that are more or less independent of a particular typeof computer. • Such languages are considered high-level because they are closer to human languages.
  • 11. Advantages of high-level languages • Better portability (program runson many CPUs) • Richer datatypesand memory management • Natural structuresfor expressing flow of control • Much better support for softwaremaintenance • Much better support for softwarereuse
  • 12. Translation Process of HLL • Compiler: Translatesan entirehigh-level languageprogram into machinecodebeforeit isexecuted. • Interpreter: Simulatesahigh-level languageprogram, translating commandsto machinecodealong theway, only asneeded.
  • 14. Features of C language • It is a robust language with rich set of built-in functions and operators that can beused to writeany complex program. • The C compiler combines the capabilities of an assembly language with featuresof ahigh-level language. • Programs Written in C are efficient and fast. This is due to its variety of datatypeand powerful operators. • C is highly portable this means that programs once written can be run on another machineswith littleor no modification. • Another important featureof C program, isitsability to extend itself.
  • 15. Features of C language
  • 16. C - Program Structure A C program basically consistsof thefollowing parts− •Preprocessor Commands •Functions •Variables •Statements& Expressions •Comments
  • 18. • Let ustakealook at thevariouspartsof theaboveprogram − • The first line of the program #include <stdio.h> is a preprocessor command, which tells a C compiler to include stdio.h file before going to actual compilation. • The next line int main() is the main function where the program execution begins. • The next line /*...*/will be ignored by the compiler and it has been put to add additional comments in the program. So such linesare called comments in theprogram. • The next line printf(...) is another function available in C which causes the message"Hello, World!" to bedisplayed on thescreen. • The next line return 0; terminates the main() function and returnsthevalue 0.
  • 19. Character set of C • It denotesany alphabet, digit or special symbol used to represent information. 1.      Source characterset                                 a.      Alphabets                                 b.      Digits                                 c.      Special Characters                                 d.      WhiteSpaces 2.      Execution characterset                                 a.     EscapeSequence
  • 20. Source character set • ALPHABETS             Uppercase letters  ----------  A-Z             Lowercase letters  ----------  a-z DIGITS   --------------------------------  0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • 23. Execution Character Set • Certain ASCII characters are unprintable, which means they are not displayed on the screen or printer. Those characters perform other functions aside from displaying text. Examples are backspacing, moving to anewline, or ringing abell. • These are employed at the time of execution of the program. Execution characters set are always represented by a backslash () followed by a character. Note that each one of character constants represents one character, although they consist of two characters. Thesecharacterscombinationsarecalled asescape sequence
  • 24. Identifiers • In C language identifiers are the names given to variables, constants, functionsand user-definedata. • Theseidentifier aredefined against aset of rules.
  • 26. C - Variables • A variable is nothing but a name given to a storage area that our programscan manipulate. • Each variable in C has a specific type, which determines the size and layout of thevariable'smemory; • The name of a variable can be composed of letters, digits, and the underscore character. It must begin with either a letter or an underscore. Upper and lowercase letters are distinct because C is case- sensitive.