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 |
What is a 'pure' virtual function and what's its use?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
What are the three types of access specifiers in C++?
What is vector processing?
How to access a variable of the structure?
Is c++ high level programming language?
What is the protected keyword used for?
To what does “event-driven” refer?
Carry out conversion of one object of user-defined type to another?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
What is null c++?
const char * char * const What is the differnce between the above two?