INDIRA GANDHI ENGINEERING COLLEGE
SAGAR(M.P)
EVALUATION OF INTERNSHIP PRESENTATION ON
“ C -PROGRAMMING”
SESSION 2019-2020
Submitted to
Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal (M.P.)
In partial fulfillment of the degree
Of
Bachelor of Engineering
In
Information Technology
Training by:--Naresh IT Hyderabad
Submitted by:--Atul Mishra (0601IT171016)
CONTENTS OF “C”
1. Introduction of C uses of C Importance of C. 2. Historical development of C.
3. C- data type .
4. Constant/Variable.
5. Header files.
6. Basic C program.
7. Array , String , pointer.
8. structure and union.
C is a general propose high level language. which is developed for UNIX operating system .
C is a structured programming language which mean that it allow you to develop program using
designed control structure and develop modularity.
C is often called middle level language because it combines the best element of low level
language or machine level language with high level language.
1. Bcpl (1967) Martin Richard
2. B (1970) Ken Thompson
3. Traditional C (1970) Danni's Ritchie
{bell laboratories , USA}
4. ANSI C (1989) ANSI committee
5. ANS/ISO C (1990) ISO committee
DERIVED DATA TYPE
Array
Pointer
Structure
Union
FUNDAMENTAL DATA TYPE
Character Type.
Integer Type.
Floating Type.
Double
USES OF C LANGUAGE
C language is used to creating computer software
APPLICATION SOFTWARE
IMPORTANCE OF C LANGUAGE
Modularity
simplicity .
reusability..
C is also called mother of some most other languages .
Efficiency
-32768 to 32767
3.4*10^-38 to 3.4*10^+38
-128 to +128
3.4*10^-4932 to1.1*10^4932
In c language 256 characters are identified with 0 to 255 ASCII(American standard code for information
interchange)
in 256 characters alphabets are 52,digits are 10.and special are 44 operators and 14 sepreators
ASCII values
In C language total 32 keywords are there.[system
pre defined char ,for , float etc]
Identifiers –Always start with alphabet.
Constant- main ;total.
String – “hello”
Special symbols-().{}.
Operators (+,-,*…..)
Arithmetic -unary and binary.
Relational - ==;>=;
Logical- &&,||;
Assignment – a=10;
Other – comma , size of;
first c program
#include<stdio.h>
void main()
{
printf(“hii this is presentation class”);
}
String
array of characters extra
terminating character
which is null(\0) use to
indicate the termination
of string
Pointer
int var=10;
int *ptr=&var;
*ptr=20;
pointer is a variable that stores/poi
nts the address of other variable…