Skip to main content

METHODS/DEFAULT FUCTION ON DATA STRUCURE@ GEEKSOFGEEKS
0 followers
0 questions
2 posts

Aditya MangaloreLetsUpgrade Elite Team | πŸŽ–οΈFL
LETSUPGRADE ELITE TEAM MEMBER/ LETSUPGRADE STUDENT AMBASSADOR / ML ENTHUSIAST

DYNAMIC MEMORY ALLOCATION

1. malloc()

Declaration: void *malloc(size_t size); // ptr=(datatpe*)malloc(sizeof(datatype)); This function is used to allocate memory dynamically. The argument size specifies the number of bytes to be allocated. On success, malloc() returns a pointer to the first byte of allocated memory.... (More)

@PRASAD ,THANX MATE.

GEEKS OF GEEKS XPLAINED WELL WITH ALL EXAMPLE