Basic Introduction of C Langueg

You might also like

You are on page 1of 6

BASIC INTRODUCTION

OF C LANGUEGE
C PROGRAMMING LANGUAGE WAS DEVELOPED IN 1972 BY DENNIS RITCHIE AT
BELL LABORATORIES OF AT&T (AMERICAN TELEPHONE & TELEGRAPH), LOCATED
IN THE U.S.A. DENNIS RITCHIE IS KNOWN AS THE FOUNDER OF THE C LANGUAGE.
IT WAS DEVELOPED TO OVERCOME THE PROBLEMS OF PREVIOUS LANGUAGE
APPLICATIONS OF C LANGUAGE
C PROGRAMMING LANGUAGE CAN BE USED TO DESIGN THE SYSTEM SOFTWARE
LIKE OPERATING SYSTEM AND COMPILER.
TO DEVELOP APPLICATION SOFTWARE LIKE DATABASE AND SPREAD SHEETS.
FOR DEVELOP GRAPHICAL RELATED APPLICATION LIKE COMPUTER AND MOBILE
GAMES.
TO EVALUATE ANY KIND OF MATHEMATICAL EQUATION USE C LANGUAGE.
BASIC INSTRUCTION OF C
LANGUEGE
BASIC LATTERS IDENTIFIIER INSTRUCTION

A to Z (1)constant 1data type declaration


a to z instruction

0 to 9 2 input output instruction


(2) variable
{ : ,, / ? 3 airthematic instruction
<> + = * & 4 control instruction
(3) keywords
% !
TOW TYPES OF CONSTANT
CONSTANT TWO TYPES OF
CONSTANT
• Primary constant • Secondary constant
• 1 integer const -55 35 0 9 • Array
• 2 real const 21.4 3.66 0.2 3.0 • Pointer
• 3 character const Any symbal with • Structuer
any single code • Union
• ‘A’ ‘B’ ‘C’ ‘+’ ‘ ’ ‘2’ • Enum etc………….
VARIABLE
S
C variable is a named location in a memory
where a program can manipulate the data.
This location is used to hold the value of
the variable

A VALID VARIABLE NAME CONNOT


START WITH DIGIT
KEYWORD
S
THERE ARE 32 KEY WORDS IN C
LANGUEGE

You might also like