difference between c and c++?

Answer Posted / mahesh

=>c does not a class/object concept
=>c++ provides data encapsulation,data
abstraction,polymorphism.
=>c++ support all c syntax
=>in c passing value to a function is "call by value"
where c++ its "call by reference"

Is This Answer Correct ?    173 Yes 78 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is time h in c++?

844


What are structures and unions?

775


What is the difference between function overloading and operator overloading?

755


Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).

800


What is dev c++ used for?

773


What is the C-style character string?

802


Explain method of creating object in C++ ?

783


Explain differences between alloc() and free()?

779


What are the advantages of c++?

1267


What are the sizes and ranges of the basic c++ data types?

782


What is the copy-and-swap idiom?

813


What is function declaration in c++ with example?

725


What is code reusability in c++?

903


If all is successful, what should main return a) 0 b) 1 c) void

773


What is searching? Explain linear and binary search.

777