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

Who created c++?

566


What is do..while loops structure?

611


Is C++ case sensitive a) False b) Depends on implementation c) True

608


What do you mean by function pointer?

585


What are the advantages of using a pointer?

598






What is class invariant in c++?

738


How do I write a c++ program?

588


What is the difference between multiple and multilevel inheritance in c++?

586


Define Virtual function in C++.

616


How can you create a virtual copy constructor?

574


Do you know the problem with overriding functions?

563


What are the defining traits of an object-oriented language?

683


Is c++ pass by reference or value?

562


Is the declaration of a class its interface or its implementation?

694


Why would you use pointers in c++?

617