Q. What will happen if malloc() is called inside a loop without freeing memory?

यदि मेमोरी खाली किए बिना लूप के अंदर Malloc() को कॉल किया जाए तो क्या होगा?

A
The loop will stop
B
It will cause a memory leak
C
It will automatically free memory
D
The compiler will optimize it

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