Answer Posted / nashiinformaticssolutions
o new initializes the object and calls its constructor.
o malloc allocates memory but does not call constructors.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain polymorphism?
Can comments be longer than one line?
What is an adaptor class in c++?
How c functions prevents rework and therefore saves the programers time as wel as length of the code ?
What kind of jobs can I get with c++?
Is c++ vector dynamic?
What will the line of code below print out and why?
What is pointer in c++ with example?
What is std namespace in c++?
What is #include cstdlib in c++?
How can I improve my c++ skills?
Can you please explain the difference between static and dynamic binding of functions?
Why was c++ made?
What are register variables?
How to tokenize a string in c++?