Which of these operators is used to allocate memory for an object?

a) malloc
b) alloc
c) new
d) give

1 thought on “Which of these operators is used to allocate memory for an object?”

  1. c
    Explanation: Operator new dynamically allocates memory for an object and returns a reference to it. This reference is address in memory of the object allocated by new.

Leave a Comment