Routing
September 15, 2024Cache
September 17, 2024Calloc-Malloc
Question 1 |
We use malloc and calloc for
Dynamic memory allocation | |
Static memory allocation | |
Both dynamic and static memory allocation | |
None of the above |
Question 1 Explanation:
C -Dynamic memory allocation refers to performing manual memory management for dynamic memory allocation in the C programming language via a group of functions in the C standard library, namely
1. Malloc
2. Realloc
3. Calloc
4. Free.
1. Malloc
2. Realloc
3. Calloc
4. Free.
Correct Answer: A
Question 1 Explanation:
C -Dynamic memory allocation refers to performing manual memory management for dynamic memory allocation in the C programming language via a group of functions in the C standard library, namely
1. Malloc
2. Realloc
3. Calloc
4. Free.
1. Malloc
2. Realloc
3. Calloc
4. Free.