Dynamic Memory Management
Dynamic Memory Management
Management
Introduction
• Syntax :-
sizeof(type)
sizeof(variable)
Functions for Dynamic Memory Management
• The function for the dynamic memory management can be found in stdlib.h
library .They are as follows :
• For ex:
float *fp , fa[10];
fp=(float *) malloc(sizeof(fa));