0 votes 0 votes Which among the following is (are) able to modify previously allocated space I. calloc() II. free() III. realloc() A. Both II and III B. I , II and III C. III only D. II only Programming in C programming-in-c + – sh!va asked Jul 12, 2016 • edited Jun 22, 2022 by Arjun sh!va 464 views answer comment Share Follow See 1 comment See all 1 1 comment reply Arjun commented Jun 22, 2022 reply Follow Share https://gateoverflow.in/56221/Ugc-net-cse-june-2012-part-3-question-24 0 votes 0 votes Please log in or register to add a comment.
Best answer 1 votes 1 votes I. calloc() allocates the desired memory space, initializes it to 0 and the returns a pointer to the first byte of allcated space. II. free() deallocates the previously allocated space. III. realloc() is used to change the size of previously allocated space. Hence, answer should be C. pranjalgennext answered Jul 12, 2016 • selected Jul 12, 2016 by sh!va pranjalgennext comment Share Follow See all 0 reply Please log in or register to add a comment.