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

Answer Posted / swathi

c++ is an extension of c with some additional features like encapsulation,inheritance,etc. which makes the program to easily understand

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the order in which the objects in an array are destructed?

992


How are the features of c++ different from c?

689


What is a Default constructor?

1064


What are the syntactic rules to be avoid ambiguity in multiple inheritance?

756


What causes a runtime error c++?

693






How do c++ struct differs from the c++ class?

699


Using a smart pointer can we iterate through a container?

660


Can we make any program in c++ without using any header file and what is the shortest program in c++.

712


Does std endl flush?

673


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

688


What is double in c++?

658


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

672


What is the full form nasa?

671


List down the guideline that should be followed while using friend function.

729


What is the main use of c++?

654