CL - 7chpt2 Overview of C Part 3
CL - 7chpt2 Overview of C Part 3
Computer
Application
Chapter 2
Overview of C (part 3)
Sub Topic:Constants, variables and
data types
Presented By,
M. Siva Shankari,
CPSV
Constants, variables and data
types
A program is a sequence of instructions. These
instructions are formed by certain symbols and words
according to some rules. C has its own vocabulary &
grammar.
Character sets
constants
Variables
Data types
Character set:
REAL CONSTANTS
examples are,
0.68, 45.677, 23.0 etc..
SINGLE CHARACTER CONSTANTS
STRING CONSTANTS
1.999
2.14,000
3.0.00001