[go: up one dir, main page]

0% found this document useful (0 votes)
15 views4 pages

Unit 1 OOPc

C++

Uploaded by

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

Unit 1 OOPc

C++

Uploaded by

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

Introduction to C language

C is a programming language which is


developed by Dennis Ritchie in 1972 at AT & T’s bells laboratories
located in USA. It is developed to use in UNIX operating system.
While C was a Procedural Oriented
Programming language (POP) i.e. more significance was given to
the procedure to perform a task.
Introduction to C++ language

C++ is a programming language which is


developed by Bjarne Stroupstrups in 1979 at bells laboratories
located in USA. It is Object Oriented Programming
language (OOP). Earlier C++ is known as C with classes.
Difference Between C and C++
C C++
1) C is develop by Dennis Ritchie in 1972. 1) C++ is develop by Bjarne Stroupstrups
in 1979.
2) In C overloading is not possible. 2) In C++ overloading is possible.

3) In C Inheritance is not possible. 3) In C++ Inheritance is possible.

4) In C we can allocate dynamic 4) In C++ we can allocate dynamic


memory using melloc and relloc memory using new and delete
function. function.
Difference Between OOP and POP

OOP POP
1) Program is divided into small parts it is 1) Program is divided into small parts it is
called as function. called as object.
2) It does not have any proper way 2) It provide data hiding so it is
to hide the data so it is less secure. more secure.
3) POP doesnot have any access 3) OOP have access specifier.
specifier.
4) Example :- C,Pascal. 4) Example :- C++,Java.

You might also like