Trương Phượng
New member
What does the following code do?
A. Static Memory Allocation
B. Static Memory Clearance
C. Dynamic Memory Allocation
D. Dynamic Memory Clearance
Code:
void main() {
int* ptr = (int*)malloc(100 * sizeof(int));
}
B. Static Memory Clearance
C. Dynamic Memory Allocation
D. Dynamic Memory Clearance