Question

Explain how will you allocate memory dynamically for a two dimensional array of floating point numbers.

18 Feb 2025
Answer :
Word Count : 282

To allocate memory dynamically for a two-dimensional array of floating point numbers in C, we can use pointers and the `malloc()` function. The first step is to allocate memory for the array of pointers, where each pointer will represent a row. Then, for each row, we allocate memory to hold the elements (columns) of that row. _________ _____ ______ ________ __________ _____.
_____ _____ ______ ___ ___ ____ ___ ______.
__________ ____ _________ _____ ___ ________ _________ ________ ____ ________ ____.
_______ ____ ______ _____ _____ ___ _________ _______ _______ __________ _________ ____.
______ _______ __________ _________ ________ ________.
______ ___ ______ ______ ________ _______ ______ _________.
________ _______ _______ _______ ___.
______ _________ _______ ________ ______.
_____ ____ ________ ___ _____ ________ ________ ______ _______.
___ _______ __________ _________ _________ ________ _____.
_______ __________ _______ _________ _______ ________ _____ ______ ______ _______ _____.
_________ _______ ________ ________ ___ ________ _____.
___ _________ __________ ________ __________ ______ _____ ___.
___ _________ __________ _________ _______ _____ ______.
____ __________ ___ ________ ____ ___ ______ _____ ________ ______.
___ ___ ____ _____ __________ ____ __________ ___ __________ __________.
_________ _____ ___ ___ ____ ___ ______ ________ ____ __________ __________ ________.
____ _______ _____ _____ _________.
__________ __________ ________ _________ _________ __________ ________ _________ __________ ____ _____ _________.
__________ ________ ______ _______ _________ ___ _________ ________ __________ ___.
____ _________ ________ __________ ___ _________ ______ _______.
________ _______ ________ __________ ________.
__________ _____ ________ ________ ______ ______ _____.
___ _______ ____ ___ ______ ___.
___ _______ ___ ___ ____ _____ _____ ________ __________ __________.
__________ _________ ______ _________ __________ ____ ________ ___ ______.
______ _______ _________ ______ _________ _______ __________ _____ ______.
___ ____ __________.
Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Explain how will you allocate memory dynamically for a two dimensional
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→