he C Declarations
CHAPTER OUTLINE
2.1 Introduction
2.2
The C Character Set
2.3 Delimiters
2.4
The C Keywords
2.5 Identifiers
2.6
Constants
2.7
Variables
2.8
Rules for Defining Variables
2.9
C Aggregate Data Types
2.T0 Declaring Variables
2.11
Initializing Variables
2.12
Type Conversion
Exercises
2.1 INTRODUCTION
A programming language should be designed to support certain kind of data, such as numbers,
characters, strings etc., to get useful output known as information. A program is a set of statements
for a specific task, which will be executed in a sequential form. These statements/instructions are
formed using certain words and symbols according to the rules known as syntax rules or grammar
of the language. Every program must follow accurately the syntax rules supported by the language. In
this chapter, concepts of constants, variables and data types are explained in detail.
2.2 THE C CHARACTER SET
The characters are used to form words, numbers and expressions depending upon the computer on
which the program runs. The characters in C are classified into the following categories.
1) Letters
2) Digits
3) White spaces
4) Special characters
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.213.238