Discussions
Vineesh Nair

· started a discussion

· 1 Months ago

(a) Malloc is used for dynamic allocation of memory, while calloc can't be used for that purpose
(b) Malloc needs only one argument. while calloc needs two.
(c) unlike malloc, calloc allocates memory and initializes it to 0.
d) Both (b) and (c)
(e) None of the above

Take South Indian Bank Clerk test here - https://www.toprankers.com/bank-exams/banking/south-indian-bank-test-series/clerk/online-tests

All Rights Reserved Top Rankers