Question

    Match the following a. calloc( )------- i. Frees

    previouslyallocated space. b. free( ) ----------- ii. Modifiespreviouslyallocated space. c. malloc( ) ------- iii. Allocates spacefor array. d. realloc( ) ------- iv. Allocatesrequested size ofspace.
    A a-iii, b-i, c –iv, d -ii Correct Answer Incorrect Answer
    B a-iii, b-ii, c –i, d -iv Correct Answer Incorrect Answer
    C a-iii, b-iv, c –i, d -ii Correct Answer Incorrect Answer
    D a-iv, b-ii, c –iii, d -i Correct Answer Incorrect Answer
    E a-iii, b-ii,c- i ,d-iv Correct Answer Incorrect Answer

    Solution

    The correct answer is A

    Practice Next