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
What are vectors used for in c++?
Is multimap sorted c++?
Can you declare an array without a size in c++?
What are pointer-to-members? Explain.
What is low level language in simple words?
Describe private, protected and public – the differences and give examples.
Incase of a function declaration, what is extern means?
What is the history of c++?
Does c++ support multilevel and multiple inheritances?
How can you differentiate between inheritance and implementation in c++?
Write syntax to define friend functions in C++.
Which is the best c++ compiler?
How many ways can a variable be initialized into in C++?
What is the use of default constructor?
What are the classes in c++?