📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    In C, which function is used to release dynamically

    allocated memory?
    A free() Correct Answer Incorrect Answer
    B malloc() Correct Answer Incorrect Answer
    C calloc() Correct Answer Incorrect Answer
    D realloc() Correct Answer Incorrect Answer
    E delete Correct Answer Incorrect Answer

    Solution

    free() releases memory previously allocated using malloc, calloc, or realloc.

    Practice Next
    ask-question