Home / C Programming / Memory Allocation :: Discussion

Discussion :: Memory Allocation

  1. Which of the following statement is correct prototype of the malloc() function in c ?

  2. A.
    int* malloc(int);
    B.
    char* malloc(char);
    C.
    unsigned int* malloc(unsigned int);
    D.
    void* malloc(size_t);

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment