2
Most read
3
Most read
AND

WITH FEATURES OF OOPS
In computing, C is a general-purpose programming
language initially developed by Dennis Ritchie between
1969 and 1973 at AT&T Bell Labs.

   C is a procedural language in which we focus on
mathematical and algorithm.
 Simple C Program
                           # include <stdio.h>
                      int main(void) {
                    printf(“Hello Worldn”);
                           return 0;
                              }
C++ was originally developed to be the next
version of C, not a new language. it was developed
by Bjarne Stroustrup starting in 1979 at Bell Labs

    It is an object oriented programming language in
which we focus on real life problem.

Simple C++ Program
                     #include <iostream.h>
                     int main(void) {
                      cout << “Hello Worldn”;
                       return 0;
                          }
Differences

C
      it is most stable for handling small
programme.

C++
      it is for handling large programme.

C
      it follows top down approach.

C++
      it flows bottom up approach.
C
    Data in shareable mode. i.e. Data can be accessed by other function.

C++
   Data in non shareable mode. i.e. Data can not be accessed by other
   function.

C
    It does not support function overloading (two functions may have
     the same name).

C++
  It support function overloading (function names must be unique).

C
    Data is not secured in ‘c’ .

C++
  Data is secured in ‘c++’ .
BASIC FEATURES OF OBJECT ORIENTED
        PROGRAMMING LANGUAGE (OOPS)


           OBJECT               CLASS




MESSEGE
PASSING             OOPS            INERITANCE




          DYNAMIC            POLYMORPHI
          BINDING                SM
OBJECTS
      Objects are basic runtime entity in object oriented system. When a
program is executed, the objects interact by sending messages to one
another .


CLASS
         Classes are user defined data types and it behaves like built in
types of programming language. It is the way to bind the data and
function to gather in a single unit.


INHERITANCE
            The mechanism of deriving a new class from an old class is
called inheritance or derivation. The old class is known as base class
while new class is known as derived class or sub class. The inheritance is
the most powerful features of OOP.
POLYMORPHISM
       Polymorphism is a Greek term which means ability to take more than one
form.
For example, + is used to make sum of two numbers as well as it is used to combine
 two strings.


DYNAMIC BINDING
      Dynamic binding means link exist between procedure call and code to be
execute at run time when that procedure is call.


MESSAGE PASSING
    Objects can communicate with each others by passing message same as
people passing message with each other. Message passing involves name of object,
name of function (message) and information to be send.
C vs c++

More Related Content

PPTX
1. importance of c
PPT
History of c
PDF
Differences between c and c++
PPTX
Presentation on C++ Programming Language
PPTX
Basic programming concepts
PPTX
Programming languages
PPTX
C++ presentation
PPTX
Operators in C#
1. importance of c
History of c
Differences between c and c++
Presentation on C++ Programming Language
Basic programming concepts
Programming languages
C++ presentation
Operators in C#

What's hot (20)

PPSX
INTRODUCTION TO C PROGRAMMING
PPT
Programming in c
PPTX
introduction to programming languages
PPTX
Operator in c programming
PPT
C++ classes tutorials
PPTX
History of C Programming Language
PPTX
Increment and Decrement operators in C++
PPTX
Introduction to programming
PDF
struct and class deferences
PPT
C# basics
PPTX
Finaal application on regular expression
PPTX
C tokens
PPT
Introduction to c programming
PPTX
Introduction of c programming
PPTX
Friend function
PPSX
Programming languages
PPTX
c++ programming Unit 2 basic structure of a c++ program
PPTX
Introduction to C programming
PDF
Operators in c programming
INTRODUCTION TO C PROGRAMMING
Programming in c
introduction to programming languages
Operator in c programming
C++ classes tutorials
History of C Programming Language
Increment and Decrement operators in C++
Introduction to programming
struct and class deferences
C# basics
Finaal application on regular expression
C tokens
Introduction to c programming
Introduction of c programming
Friend function
Programming languages
c++ programming Unit 2 basic structure of a c++ program
Introduction to C programming
Operators in c programming
Ad

Viewers also liked (20)

PPTX
C vs c++
PPTX
difference between c c++ c#
ODP
Ppt of c++ vs c#
ODP
Ppt of c vs c#
PPTX
C++ vs C#
PPTX
Discussing Fundamentals of C
PPTX
C and C ++ Training in Ambala ! BATRA COMPUTER CENTRE
PPTX
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
PPTX
Introduction Of C++
PPTX
C & C++ Training in Ambala ! BATRA COMPUTER CENTRE
PPTX
Intro to C++ Basic
PPS
basics of C and c++ by eteaching
PDF
History of C/C++ Language
PPTX
Overview of c++ language
PPTX
Corrosion control
PPT
Dot net guide for beginner
PPTX
C sharp
PPT
C++ to java
PPTX
Python basic
C vs c++
difference between c c++ c#
Ppt of c++ vs c#
Ppt of c vs c#
C++ vs C#
Discussing Fundamentals of C
C and C ++ Training in Ambala ! BATRA COMPUTER CENTRE
C & C++ Training Centre in Ambala! BATRA COMPUTER CENTRE
Introduction Of C++
C & C++ Training in Ambala ! BATRA COMPUTER CENTRE
Intro to C++ Basic
basics of C and c++ by eteaching
History of C/C++ Language
Overview of c++ language
Corrosion control
Dot net guide for beginner
C sharp
C++ to java
Python basic
Ad

Similar to C vs c++ (20)

PPTX
Procedure Oriented programming Object Oriented programming Basic Concept of ...
PDF
Oops concepts in c++ documentation
PPTX
object oriented programming language fundamentals
PDF
Object oriented programming c++
PPTX
c++session 1.pptx
PPTX
C++ TRAINING IN AMBALA CANTT! BATRA COMPUTER CENTER
DOCX
Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org) (usef...
PPTX
Unit 1 of c++ part 1 basic introduction
PPTX
Basic Introduction to C++.pptx
PPTX
Introduction to C++
PPTX
Advantage and Disadvantages of C++ programming.pptx
PPTX
c programming, internshala training , govt engineering college aurangabad
PPTX
OOPS INTRODUCTION FOR BEGINNERS COMPARION WITH C
PPTX
Object oriented programming. (1).pptx
PDF
CS305PC_C++_UNIT 1 notes jntuh third semester
PPTX
C+Comprehensive overview of the IoT system aims, architecture, challenges, ap...
PDF
C++ [ principles of object oriented programming ]
PPTX
Lab 1.pptx
PPTX
An introduction to object-oriented programming.pptx
PPTX
Principal of objected oriented programming
Procedure Oriented programming Object Oriented programming Basic Concept of ...
Oops concepts in c++ documentation
object oriented programming language fundamentals
Object oriented programming c++
c++session 1.pptx
C++ TRAINING IN AMBALA CANTT! BATRA COMPUTER CENTER
Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org) (usef...
Unit 1 of c++ part 1 basic introduction
Basic Introduction to C++.pptx
Introduction to C++
Advantage and Disadvantages of C++ programming.pptx
c programming, internshala training , govt engineering college aurangabad
OOPS INTRODUCTION FOR BEGINNERS COMPARION WITH C
Object oriented programming. (1).pptx
CS305PC_C++_UNIT 1 notes jntuh third semester
C+Comprehensive overview of the IoT system aims, architecture, challenges, ap...
C++ [ principles of object oriented programming ]
Lab 1.pptx
An introduction to object-oriented programming.pptx
Principal of objected oriented programming

More from ZTE Nepal (12)

PPTX
Foundation of Communication and Networking
PPTX
carnotcycle
PPT
Datatypes
PPTX
Thermodynamic system
PPT
Powder metallurgy
PPT
Acid rain
PPTX
Water for domestic use
PPTX
Memory 02
PPT
Block diagram of computer 02
PPT
Block diagram of a computer
PPTX
Corrosion control
PPTX
Construction scheduling
Foundation of Communication and Networking
carnotcycle
Datatypes
Thermodynamic system
Powder metallurgy
Acid rain
Water for domestic use
Memory 02
Block diagram of computer 02
Block diagram of a computer
Corrosion control
Construction scheduling

C vs c++

  • 2. In computing, C is a general-purpose programming language initially developed by Dennis Ritchie between 1969 and 1973 at AT&T Bell Labs. C is a procedural language in which we focus on mathematical and algorithm. Simple C Program # include <stdio.h> int main(void) { printf(“Hello Worldn”); return 0; }
  • 3. C++ was originally developed to be the next version of C, not a new language. it was developed by Bjarne Stroustrup starting in 1979 at Bell Labs It is an object oriented programming language in which we focus on real life problem. Simple C++ Program #include <iostream.h> int main(void) { cout << “Hello Worldn”; return 0; }
  • 4. Differences C it is most stable for handling small programme. C++ it is for handling large programme. C it follows top down approach. C++ it flows bottom up approach.
  • 5. C Data in shareable mode. i.e. Data can be accessed by other function. C++ Data in non shareable mode. i.e. Data can not be accessed by other function. C It does not support function overloading (two functions may have the same name). C++ It support function overloading (function names must be unique). C Data is not secured in ‘c’ . C++ Data is secured in ‘c++’ .
  • 6. BASIC FEATURES OF OBJECT ORIENTED PROGRAMMING LANGUAGE (OOPS) OBJECT CLASS MESSEGE PASSING OOPS INERITANCE DYNAMIC POLYMORPHI BINDING SM
  • 7. OBJECTS Objects are basic runtime entity in object oriented system. When a program is executed, the objects interact by sending messages to one another . CLASS Classes are user defined data types and it behaves like built in types of programming language. It is the way to bind the data and function to gather in a single unit. INHERITANCE The mechanism of deriving a new class from an old class is called inheritance or derivation. The old class is known as base class while new class is known as derived class or sub class. The inheritance is the most powerful features of OOP.
  • 8. POLYMORPHISM Polymorphism is a Greek term which means ability to take more than one form. For example, + is used to make sum of two numbers as well as it is used to combine two strings. DYNAMIC BINDING Dynamic binding means link exist between procedure call and code to be execute at run time when that procedure is call. MESSAGE PASSING Objects can communicate with each others by passing message same as people passing message with each other. Message passing involves name of object, name of function (message) and information to be send.