what are difference between c and c++?

Answer Posted / sharad

c is structured programming language, but c++ is object
oriented language.c support the local variable but c++
support the global variable through (sro).in c change the
constant value through pointer but not in c++. in c declare
the method before executable statement but in c++ declare
any where.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ostream in c++?

578


What are vectors used for in c++?

626


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

648


What does I ++ mean in c++?

585


What is difference between array and vector in c++?

562






What is polymorphism and its type in c++?

594


Is recursion allowed in inline functions?

612


What is the need of a destructor?

640


What is abstract keyword in c++?

594


What is type of 'this' pointer?

600


What are the advantages of using friend classes?

631


Can you declare an array without a size in c++?

576


What data encapsulation is in c++?

599


What is the use of object in c++?

573


Why cout is used in c++?

568