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
When is the copy constructor called?
Why is c++ considered difficult?
What are the various operations performed on stack?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
Why do we use templates?
What are virtual constructors/destructors?
Can you write a function similar to printf()?
What is the default width for ouputting a long integer using the insertion operator?
What are the various situations where a copy constructor is invoked?
Show the declaration for a static member variable.
Define Virtual function in C++.
What is std namespace in c++?
What is tellg () in c++?
What does new return if there is insufficient memory to make your new object?
What is runtime polymorphism in c++?