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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / reegan

data security,data encapsulation,reusability

Is This Answer Correct ?    39 Yes 9 No

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

Answer / atreyee

A program in C is unstable compared 2 C++
Encapsulation,Inheritance in C++.

Is This Answer Correct ?    28 Yes 10 No

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

Answer / mohana

stonger typing: the type system in c++ is stronger than in c

Is This Answer Correct ?    24 Yes 10 No

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

Answer / a geek

We can not compare C to C++.
C++ programming is object oriented and and lot of features
which are no way achievable in C easily.

Is This Answer Correct ?    20 Yes 6 No

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

Answer / shami

C++ IS A NEW VERSION OF C,WHICH ACHEIVES EASY WAY OF
PROGRAMING USING OO APPROACH.

Is This Answer Correct ?    16 Yes 6 No

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

Answer / bhuvana

C++ is an object oriented programming language.And it has
the main features of classes & objects, inheritances,
polymorphism.

Is This Answer Correct ?    12 Yes 4 No

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

Answer / hari prasanth

c is a computer programming language and c++ is a object
oriented programming language

Is This Answer Correct ?    11 Yes 3 No

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

Answer / 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

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

Answer / k

c


















c++ is object oriented program. the main advatage is we can reuse the code and well structured and secured...
c

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain friend class?

0 Answers  


What is the difference between shallow copy and deep copy?

1 Answers  


When should I use unitbuf flag?

0 Answers  


Differentiate between a pointer and a reference with respect to c++.

0 Answers  


In C++ cout is: a) object b) class c) something else

11 Answers   Infosys, Lehman Brothers,






What is a memory leak c++?

0 Answers  


Read the following program carefully and write the output of the program. Explain each line of code according to given numbering. #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <errno.h> 1……………… int main (void) { pid_t pid; 2………………………… pid = fork(); 3…………………………. if (pid > 0) { int i; 4………………………… for (i = 0; i < 5; i++) { 5………………… …………… printf(" I AM VU : %d\n", i); 6………………… …………… sleep(1); } exit(0); } 7………………… ……… else if (pid == 0) { int j; for (j = 0; j < 5; j++) { 8……………………………… printf(" I have no child: %d\n", j); sleep(1); } _exit(0); } else { 9………………………………fprintf(stderr, "can't fork, error %d\n", errno); 10……………… … ………… exit (EXIT_FAILURE); } }

1 Answers  


What is the real purpose of class – to export data?

0 Answers  


Which is the best c++ compiler for beginners?

0 Answers  


Why was c++ made?

0 Answers  


What is the best c++ compiler?

0 Answers  


What is purpose of new operator?

0 Answers  


Categories