Q. Which of the following function is used to dynamically allocate memory for an array and initialize all elements to zero in C?

निम्नलिखित में से कौन सा फ़ंक्शन किसी सारणी के लिए गतिशील रूप से मेमोरी आवंटित करने और C में सभी तत्वों को शून्य पर आरंभ करने के लिए उपयोग किया जाता है?

A
malloc()
B
alloc()
C
calloc()
D
realloc()

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment