difference between the c++ and c languages

Answers were Sorted based on User's Feedback



difference between the c++ and c languages ..

Answer / thana_8889

c has no object but c++ has object
c topdown approach c++ bottom up approach
c cannot be overloading c++ we can do
c is the subset of c++

Is This Answer Correct ?    15 Yes 0 No

difference between the c++ and c languages ..

Answer / raj&

<c is based pop principals
>c++ is based oops principals
<(<c
>c++)

Is This Answer Correct ?    1 Yes 0 No

difference between the c++ and c languages ..

Answer / achal

c++ is quite different from c. Here I add to above answer.
1. C++ has more rigid typecasing rules while c does not.
2. In C, structure copy is not permissible while most c++
compilers provide default copy constructors.

Is This Answer Correct ?    3 Yes 3 No

difference between the c++ and c languages ..

Answer / jaya

in c data hiding is not possible and we have to write
complete program at a time.whereas in c++ data hiding is
possible and one can divide a huge program into certain
small programs later combine it into one as per one's
choice.moreover we hav header file different.eg:<stdio.h>
in c supports printf & scanf statements while <iostearm.h>
in c++ supports cout statements......

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What are the classes in c++?

0 Answers  


Write a c program for binary addition of two 8 bit numbers.

0 Answers   TCS,


What do you mean by inheritance in c++?

0 Answers  


Enter n no. of element and delete value from desire position

1 Answers  


class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.

2 Answers   Quark,






Implement strncpy

3 Answers  


What is an accessor in c++?

0 Answers  


What's the most powerful programming language?

0 Answers  


What are the basics concepts of OOPS?

1 Answers  


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

0 Answers  


What are the differences between the function prototype and the function defi-nition?

0 Answers  


Are there interfaces in c++?

0 Answers  


Categories