Which of the following statements successfully releases an array of 100 integers?

A. free(ptr);
B. free(ptr[100];
C. free(ptr + 100;
D. for(i = 0; i < 100; i++) free(ptr + i);
E. for(i = 0; i < 100; i++) free(*ptr + 1));

Answer: A

Computer Science & Information Technology

You might also like to view...

________ allows you to connect to an external database without having to import the table into your current database

Fill in the blank(s) with correct word

Computer Science & Information Technology

A computer program or process that runs in the background and provides support to other programs is referred to as a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology