difference between c and c++

Answer Posted / ajay

Actually c is a procedural programming language which
cann't face the real world problem. It has some drawback
like a global data is shared by all function and if in a
large program it is find out difficult that which function
uses which data.

On the other hand c++ is an object oriented programming
language which eliminate some pitfall of conventional or
procedural programming language. It is a concept or
approach for designing a new software. It is nothing to do
with any programming language although a programming
language which support the oops concept to make it easier
to implement.

This is the main different between c and c++.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are binary trees?

605


What is gets() function?

666


Who is the founder of c language?

676


Is r written in c?

722


what is a constant pointer in C

674






What are the basic data types associated with c?

811


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2182


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

740


Wt are the Buses in C Language

2749


Explain what does the function toupper() do?

629


Why clrscr is used in c?

578


List some basic data types in c?

557


How can I get random integers in a certain range?

609


Why is it that not all header files are declared in every C program?

676


Is using exit() the same as using return?

669