Tagged: 

This topic contains 0 replies, has 5 voices, and was last updated by  Abhinav Tiwari 5 months ago.

  • Author
    Posts
  • #80 Reply
     Abhinav Tiwari 
    Member
    Points: 37
    Rank: Rookie

    Which programming language is better C or C++??

  • #4526 Reply
     Anirudh Jitani 
    Member
    Points: 53
    Rank: Rookie

    C is a procedure oriented language and C++ is an object oriented language. You can do almost anything you do in C with C++ and more.

  • #4804 Reply
     Aniket Rege 
    Member
    Points: 204
    Rank: Professional

    Hi Abhinav,

    I believe that both are extremely useful in their own way, and have their own set of clear advantages over the other, which I will list here:

    C: C allows you to pass by reference, and not by value. This means that the values stored themselves are not accessed and processed, but the location in memory where they are stored is. This is extremely useful in accessing data globally, and is not possible in most languages. This makes C very close to source, and extremely fast. It is also considered to have a steeper learning curve (IE it is considered difficult). Many of the best programmers in the world started off with C, and I highly recommend anyone that wishes to code do the same.

    C++ is an object oriented programming language, which means it allows for objects to inherit the properties of their supersets, called classes. It has numerous other advantages over C, such as polymorphism, encapsulation, and abstraction. If you are interested, these are all very useful concepts you can read more about them here. C++ also has a great support for libraries and graphics, which give it an added edge over C. It is also considered to be easier to code in.

    Hope this answered your doubts!

  • #6194 Reply
     Olivia Das 
    Member
    Points: 357
    Rank: Rookie

    Hi,

    About you question, nobody can answer that which language is better. It all depends on the preferences!

    C is procedure oriented, Hence less organized but easier.

    C++ is partially object oriented, arranged .

    Now it depends on what people prefer.

    Usually people term C++ as a better language as it is a newer version and that that of C ,with more functionality.

    With both the languages you can do anything you want.

    I prefer C++ over C as it is newer and this is widely used nowadays. Or you could learn Java (best).

    Thank you! 🙂

  • #6208 Reply
     Shraddha Goel 
    Member
    Points: 474
    Rank: Rookie

    Continue on c++, it is much more convenient for software development and it is easier to implement artificial intelligence algorithms using c++. Also since c is a subset of c++, there is almost nothing that can be done with c, but not c++.

Reply To: Which programming language is better C or C++??
Your information:




Comment

Verify Yourself




GET UPTO 50% OFF!
icon

Log in with your credentials

or    

Forgot your details?

Create Account