Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 Access specifiers in C++ class? What are the types?

0 Answers  


class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.

2 Answers   Quark,


Explain the static storage classes in c++.

0 Answers  


Should I learn c or c++ or c#?

0 Answers  


How does throwing and catching exceptions differ from using setjmp and longjmp?

1 Answers  






In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

0 Answers  


If there are two catch statements, one for base and one for derived, which should come first?

0 Answers  


What is the size of pointer ? Also size of pointer in 64 bit pointer

4 Answers  


In which memory a class gets stored(in heap /in stack)? And why??

2 Answers  


What is a constructor in c++ with example?

0 Answers  


What is #include math h in c++?

0 Answers  


What is the use of setprecision in c++?

0 Answers  


Categories