difference between the c++ and c languages

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is the copy constructor called?

641


Why is c++ considered difficult?

660


What are the various operations performed on stack?

637


If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3

847


Why do we use templates?

618






What are virtual constructors/destructors?

587


Can you write a function similar to printf()?

681


What is the default width for ouputting a long integer using the insertion operator?

706


What are the various situations where a copy constructor is invoked?

622


Show the declaration for a static member variable.

536


Define Virtual function in C++.

636


What is std namespace in c++?

737


What is tellg () in c++?

737


What does new return if there is insufficient memory to make your new object?

601


What is runtime polymorphism in c++?

601