What is the output of the following? int main() { ... int *p=new int(87); ... }

  1. compile time error

  2. run time error

  3. p is initialized to 87

  4. space for an array of 87 integers is allocated


Correct Option: C

Find more quizzes: