difference between the c++ and c languages
Answers were Sorted based on User's Feedback
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 |
Answer / raj&
<c is based pop principals
>c++ is based oops principals
<(<c
>c++)
| Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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 |
How can you tell what shell you are running on unix system?
Difference between Operator overloading and Functional overloading?
What are the differences between a struct in C and in C++?
Why is c++ still used?
How is c++ used in the real world?
What is anonymous object in c++?
Is c++ a difficult language?
Write about the local class and mention its use?
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
What are the advantages of inheritance in c++?
diff between pointer and reference in c++?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?