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...
The ____ effect automatically applies shading to enhance the sense of depth and dimension.
A. Shape and Scale B. Absolute and Positive C. 3D D. Positive and Negative
Computer Science & Information Technology
Samba handles authentication and authorization of users in both Linux and Windows by using passwords and ____.
A. directories B. shares C. domains D. trusts
Computer Science & Information Technology
A(n) ____________________ is any threat that exists against an asset.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
I need to create a sample registration sequence diagram that shows the steps in the registration process.
What will be an ideal response?
Computer Science & Information Technology