Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Which of the following is true about new operator?

  Shared By: Harriet Hughes    Date: Oct 16    Category: C++ Programming    Views: 763

Answer:

i. While using new operator, sizeof() operator is not needed
ii. It is also not necessary to use cast operator
iii. new operator can be overloaded
iv. All of the above

Options

a) Both i and ii
b) Both i and iii
c) ii only
d) iv only


Answer : d) iv only


Share: 
 

Didn't find what you were looking for? Find more on Which of the following is true about new operator? Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: