πŸ“Š Operating System Architecture
Q. The differences between malloc( ) and calloc() are:
  • (A) malloc is used for dynamic allocation of memory, while cal:1c can't be used for that purpose
  • (B) malloc needs only one argument. while cal loc needs two.
  • (C) unlike malloc, calloc allocates memory and initializes it to 0.
  • (D) both (b) and ©
πŸ’¬ Discuss
βœ… Correct Answer: (D) both (b) and ©

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
137
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Gopal Sharma
Publisher
πŸ“ˆ
84%
Success Rate