...
Routing
September 15, 2024
Cache
September 17, 2024
Routing
September 15, 2024
Cache
September 17, 2024

Calloc-Malloc

Question 1
We use malloc and calloc for
A
Dynamic memory allocation
B
Static memory allocation
C
Both dynamic and static memory allocation
D
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.
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.

Leave a Reply

Your email address will not be published. Required fields are marked *