What is the scope of memory allocated with malloc function?

  1. Local to the file in which its allocated.

  2. Local to the function in which its allocated.

  3. Local to the block in which its allocated.

  4. Global


Correct Option: D

Find more quizzes: