<Cstdlib> Header File use for what function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

<Cstdlib> Header File use for what function?

Using in Function.

25th Apr 2019, 2:52 PM
Muhammad Wahab Sethi
Muhammad Wahab Sethi - avatar
2 Answers
+ 3
The C standard library is mostly used for dynamic memory allocation with malloc, calloc and realloc, but also for utility like rand and exit. Here's more information: http://www.cplusplus.com/reference/cstdlib/
25th Apr 2019, 2:58 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 2
cstdlib is same like C Language's <stdlib.h> which is used for dynamic memory allocation with malloc, calloc, free...
26th Apr 2019, 9:46 AM
Baltazarus
Baltazarus - avatar