Tagged: 

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

  • Author
    Posts
  • #80
     Abhinav Tiwari 
    Member
    Rank: M.Tech in Aerospace Engineering

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

  • #4526
     Anirudh Jitani 
    Member
    Rank: Full Form of SRM Chennai

    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
     Aniket Rege 
    Member
    Rank: Thermal Engineering by PL Ballaney

    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
     Olivia Das 
    Member
    Rank: Is Interior Designing a Good Career Option

    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
     Shraddha Goel 
    Member
    Rank: I am little worried about my admissions in IIT. What are the other options suppose if I don’t make it ?

    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++.

You must be logged in to reply to this topic.

Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account