5 - C Character Set - Keywords, Variable, Constant
5 - C Character Set - Keywords, Variable, Constant
2023 Regulation
23CST101-Problem Solving using C
Course Outcomes
Course Outcomes
Cognitive Level
At the end of this course, students will be able to:
C Character Set
Source Execution
Character Set Character Set
• 1.Letters
• 2.Digits: 0,1,…9
• White spaces : blank space, tabs ,Carriage return, New line character,
Form Feed character
Back Space \b
Horizontal tab \t
Vertical tab \v
Newline \n
• enum
• if
• void
• number
• int
• continue
• extern
• label
• static
• Default
• First_Name
• RollNo
• _Address
• marks
• FirstName
• Integer
• 2name
• Name&mark
• _lastname
• Numeric Constants
• Character Constants
• String Constants
numerals, an optional sign and an optional period. They are further divided
• Real Constants :The real constants also known as floating point constants
Examples
• ‘C’
• ‘c’
• ‘:’
• ‘*’
• Examples:
“My name is Krishna”
“Bible”
“Salary is 18000.00”
• “ABC”
• ‘hello’
• Abc
• 23L
• 1,234
• 0x23