What are advantages of C++ when comparing with C?

Answer Posted / hari krishna pillai

Well!! This will results long and very long answer or
discussion. To make it short, C++ is a general purpose
programming language with a bias towards systems
programming that It is a better C, supports Data
Abstraction, supports Object Oriented Programming and
Generic Programming.

Is This Answer Correct ?    49 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you clear a map in c++?

561


Can you write a function similar to printf()?

659


Is it possible for a member function to use delete this?

558


How is objective c different from c++?

784


What is flag in computer?

590






Explain what you mean by a pointer.

616


What do the keywords volatile and mean mutable?

597


What is the function of I/O library in C++ ?

652


Explain about templates of C++.

669


Is map thread safe c++?

626


Write about the retrieval of n number of objects during the process of delete[]p?

562


How would you obtain segment and offset addresses from a far address of a memory location?

610


Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

3688


How do you invoke a base member function from a derived class in which you have not overridden that function?

576


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

2274