what is the main difference between c and c++?
Answer Posted / kanteshwar
1)In c we can not write function inside structure but in c++
function is inside the structure.
2)C language is not flexible means if tomarow logic changes
and program is large it is more difficult to change the
logic but c++ is flexible it providing the feature like
Inheritance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we need oop?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Can static class have constructor?
What is polymorphism what are the different types of polymorphism?
What is difference between data abstraction and encapsulation?
is there any choice in opting subjects like 4 out of 7
Why do we use class in oops?
what are the realtime excercises in C++?
What is static modifier?
Why is destructor used?
Why it is called runtime polymorphism?
What is encapsulation c#?
Is html an oop?
What is cohesion in oop?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box