what are difference between c and c++?

Answer Posted / ramya.p

In c++, function can call through object except friend
function . But in c ,their is necessary

Is This Answer Correct ?    16 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain function overloading

779


What is prototype for that c string function?

868


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

1778


What is the oldest programming language?

767


Why do we learn c++?

727


Explain the volatile and mutable keywords.

819


What is virtual base class uses?

915


What is c++ namespace?

937


What is a float in c++?

739


Do class declarations end with a semicolon?

780


What is flush programming?

765


In what situations do you have to use initialization list rather than assignment in constructors?

828


Why do we use constructor?

819


What is a driver program?

846


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

849