0% found this document useful (0 votes)
21 views2 pages

Summer Training Report

Uploaded by

diwanhitesh5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

Summer Training Report

Uploaded by

diwanhitesh5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

SUMMER TRAINING REPORT

On

C &C++ programming

Taken At

SARDAR PATEL UNIVERSITY BALAGHAT

In partial fulfilment for award of the Degree Of Bachelors of Technology

In

Department of Computer Science & Engineering

Department of Computer Science & Engineering College Balaghat 2019-20 2

ACKNOWLEDGEMENT

I have taken efforts in this industrial training. However, it would not have been possible without the
kind support and help of many individuals and organizations. I would like to extend my sincere
thanks to all of them. A Special thanks to computer science department for giving me the
opportunity to pursue my industrial training in the institute. I would like to express my special
gratitude and thanks to industry persons for giving us such attention and time.

-ANKIT PARIHAR (18EEACS008)

3 ABSTRACT

I am a student of Engineering College, Ajmer and studying in CSE 3rd semester. As a part of our
degree we have undergone in a training process for 15 days. Present is the age of computers and
technologies. Practical knowledge has its own importance. Without practical knowledge one cannot
be specialized in one’s field. We have automated the practical knowledge of institutes and their
working in the project.

CONTANT

S. No Content Page No.

1 Brief history of C

2 Data types in C
3 Operations in C
4 Types of loop
5 C-Functions
6 Pointers
7 File Handling in C
8
9 OOP-Introduction
10 Constructor and Destructor
11 Inheritance
12 Polymorphism
13 Exception Handling in C++
14 Templates in C++
15 File Handling in C++

Brief History of C Programming Language

➔C is a general-purpose programming language which features economy of expression, modern


control flow and data structures, and a rich set of operators. C is not a "very high level" language, nor
a "big" one, and is not specialized to any particular area of application. But its absence of restrictions
and its generality make it more convenient and effective for many tasks than supposedly more
powerful languages.
➔The history of C programming language is quite interesting. C was originally designed for and
implemented on the UNIX operating system on the DEC PDP-ll, by Dennis Ritchie. C is the result of a
development process that started with an older language called BCPL. BCPL was developed by Martin
Richards, and it influenced a language called B, which was invented by Ken Thompson. B led to the
development of C in the 1970s.
For many years, the de facto standard for C was the version supplied with the UNIX operating system.
In the summer of 1983 a committee was established to create an ANSI (American National Standards
Institute) standard that would define the C language. The standardization process took six years
(much longer than anyone reasonably expected). The ANSI C standard was finally adopted in
December 1989 6 Constants and Variables in C language :Constant ➔ As the name suggests the
name constants is given to such variables or values in C programming language which cannot be
modified once they are defined. They are fixed values in a program. There can be any types of
constants like integer, float, octal, hexadecimal, character constants etc. Every constant has some
range. The integers that are too big to fit into an int will be taken as a long. Now there are various
ranges that differ from unsigned to signed bits. Under the signed bit, the range of an int varies from -
128 to +127 and under the unsigned bit, int varies from 0 to 255. Variables in c In programming, a
variable is a container (storage area) to hold data. To indicate the storage area, each variable should
be given a unique name (identifier). Variable names are just the symbolic representation of a
memory location Data types in C Language ➔ Data types specify how we enter data into our
programs and what type of data we enter. C language has some predefined set of data types to
handle various kinds of data that we

You might also like