C Introduction
C Introduction
Hardware Software
Application System
Introduction:
•Machine oriented languages: These are also called low level languages.
•These are mainly used for faster program execution. Ex: C language
Note:
•C is middle level language. It has features of both high level as well as
low level languages.
Features of C Language
•C is a system programming language with which we can develop other
languages, packages, operating systems, editors, linkers, loaders, assemblers and
utilities.
•It is strictly typed language. We should define data type for every variable we use
in the program.
•It supports high level programming as well as low level programming with the
concept of Bit wise operators and Interrupts.
Features of C Language
•C supports data structures. Dynamic allocation and de allocation of memory is
possible with this concept. The power of C lies in pointers. By making use of
pointers we can create linked lists, stacks, queues, trees etc.,
Features of C Language
•C is a function oriented language. Supports approx 300 functions classified under
29 header files
C - Language
•It supports file handling facility with which we can store the data
permanently on magnetic media. This facilitates C to use in
commercial applications.
A, B, … Y, Z
Alphabets
a, b, … y, z
0, 1, 2, 3, 4, 5, 6,
Digits
7, 8, 9
~`!@#%^&*
Special symbols ( ) _ - + = | \ { }
[]:;“‘<>,.?/
Data types
Data types: Data types specify the type of value that a variable holds. In C, before using a
variable, its type must be declared. C allows 4 primitive data types:
•int – to store integer data
•float – to store real data
•double – to store real data with greater precision
•char – to store character data
Any variable declared in the program is stored in memory which is a sequence of bytes.
The size of each data type and the permissible range is given below.
}
EDITORS of C program
Turbo C
Turbo C++
DEV C++
CODE BLOCKS
NET BEANS
Visual Studio
Eclipse
GCC etc…
THANK YOU
DR.Goal Setting
S. PREM KUMAR
Observe [email protected]
| Inspire | Adopt | Attain