difference between c and c++?

Answer Posted / jayashri jali

->C is procedure oriented language and gives importance to
procedure that is functions rather than data.c is middle
level language.
->c++ is object oriented language and gives importance to
object that is data
c++ is high level language.
-> in c++ data will be secured means its a secured
programming language where as c is insecure.
using the properties in c++ like inheritance,function
overloading etc we can minimize the data redundancy.
c does not have such properties.
->c is top down approach, c is bottom up approach.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of typedef in a program?

616


How would you call C functions from C++ and vice versa?

640


What is setf in c++?

584


How is objective c different from c++?

796


Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02

1514






Explain the difference between static and dynamic binding of functions?

557


How do you decide which integer type to use?

579


Why is c++ called oops?

558


How can we check whether the contents of two structure variables are same or not?

591


What are punctuators in c++?

656


What are c++ manipulators?

612


What is expression parser in c++

1889


In a function declaration, what does extern mean?

640


How java is different from c and c++?

650


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

1518