difference between c and c++

Answers were Sorted based on User's Feedback



difference between c and c++ ..

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

difference between c and c++ ..

Answer / satish kumar

C:
1.c is the structure programing language.
2.its contains the top down procedure .
3.in dis programing language programs are very complex.
4.it doesnt suports the inheritanc concepts..nd exception
handling concepts.
C++:
1.c++ is the object oriented programing language.
2.it is the bottm down procedure.
3.comparing to the c .it can be suports the
inheritance ,exception handlng,constructors,operator
overloadiong concepts.

Is This Answer Correct ?    1 Yes 0 No

difference between c and c++ ..

Answer / chhaya

about C language:=
1) it is procedural laguage i.e. real word entity write in
procedur form i.e. set of instruction
2) it is bacis langues
3)execution of programe is top to bottom.
4)it does not handle
overloading,encapsulation,inheritance,constuctor,distructor
these concept

about C++:=
1)it is object oriented language i.e here real word entity
can be conver into object.
2)c++ is extend from C language
3) it aontain new concept like
overloading,encapsulation,inheritance,constuctor,distructor
etc
4)it follow all the sytanx of c
5) Execution of program is bottom to top.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

how can we use static and extern?and where can we use this?

3 Answers   Excel,


What are the ways to a null pointer can use in c programming language?

0 Answers  


What is type qualifiers?

0 Answers  


What are actual arguments?

0 Answers  


What is indirect recursion? give an example?

4 Answers  






how write a addtion of two single dimensional array using of pointer in c language?

3 Answers   DRDO,


What is a program flowchart and how does it help in writing a program?

0 Answers  


How can I convert a number to a string?

0 Answers  


what are the files which are automatically opened when a c file is executed?

3 Answers  


I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.

1 Answers  


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

0 Answers   IBM,


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

0 Answers  


Categories