What is the name of the header file that contains the declaration of malloc?

62,464

It's in stdlib.h (C) and cstdlib (C++).

In general, for such questions, just try to look on google: "c++ function". Most often the first hit will point to cplusplus.com for me containing a complete reference to the standard stuff.

Share:
62,464
Peter
Author by

Peter

Software Testing and QA Programming : Core Java and SQL Databases : SQL Server

Updated on August 26, 2020

Comments

  • Peter
    Peter almost 4 years

    What is the name of the header file that contains the declaration of the malloc() function in C and C++?