Results 1 to 3 of 3

Thread: Difference between C and C++

  1. #1
    GonzalezBrown is offline Senior Member
    Join Date
    Dec 2009
    Posts
    260
    Rep Power
    3

    Default Difference between C and C++

    Hi everyone. I am BSc (IT) student. I have good knowledge of C programming language. My planning is to learning C++ programming language. Before learning C++ I want to know about what is the Difference between C and C++. All possible reply is appreciated. Thank you.

  2. #2
    WalkerCook is offline Senior Member
    Join Date
    Dec 2009
    Posts
    253
    Rep Power
    3

    Default

    Following are the difference of C and C++:

    • C is structured programming language but C++ is object oriented language.

    • C is a top down approach while C++ is bottom up approach

    • C doesn't support operator overloading but C++ support operator overloading.

    • UNOINS AND ENUMS are not able in C and in C++ UNOINS AND ENUMS are available.

    • C focus on procedure while C++ focus on data.

    • C not NAMESPACE for avoid name clash but in C++ has NAMESPACE feature.

  3. #3
    sjohn is offline Junior Member
    Join Date
    Jun 2010
    Posts
    4
    Rep Power
    0

    Default

    C is procedure oriented language and gives importance to procedure that is functions rather than data. C is middle level language. C++ is object oriented language and gives importance to object that is data c++ is high level language. C++ allows the programmer to create classes,which are somewhat similar to C structures. However, to a class can be assigned methods, functions associated to it, of various prototypes,which can access and operate within the class, somewhat like C functions often operate on a supplied handler pointer.

Similar Threads

  1. What is the difference between C and C ++?
    By GonzalezBrown in forum Programming
    Replies: 3
    Last Post: 06-07-2010, 04:43 PM
  2. Difference in SQL,*PLUS and PL/SQL
    By RogersNguyen in forum Programming
    Replies: 1
    Last Post: 02-16-2010, 05:29 PM
  3. Difference Servlet & ASP
    By MartinWilson in forum Programming
    Replies: 2
    Last Post: 02-06-2010, 11:23 AM
  4. Difference in RAM and ROM
    By PerrySullivan in forum Motherboard
    Replies: 3
    Last Post: 02-01-2010, 02:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48