Wednesday 3 June 2015

Q52,paper3 ,J13 Match the following :



a. calloc( )             i. Frees previously allocated space
b. free( )                ii. Modifies previously allocated space
c. malloc( )            iii. Allocates space for array
d. realloc( )            iv. Allocates requested size of space
Codes :
      a b c d
(A) iii i iv ii
(B) iii ii i iv
(C) iii iv i ii
(D) iv ii iii i
Answer A.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.