Question

What is wrong with the following declaration? Explain. float *number = 2.30;

19 Mar 2023
Answer :
Word Count : 212

The following declaration float *number = 2.30; is not valid because it tries to assign a float value to a pointer to float. The correct way to assign a value to a pointer to float is by providing the address of a float variable or an array of float variables.

Here's an example _______ ___ _____ _____ _____ _________ ________ __________ ___ ________ ________ __________.
________ _________ __________ _____ _________ _________ ___ ____.
_______ __________ ________ __________ _________ ____ ______ ________ _______.
_____ ______ _____ _________ _______ ___ ________.
___ ___ ___ ______ ___ _______ ________ _________ _________ _________ __________ _________.
___ ____ ____ ____ ____ _____ _________ __________.
_________ ________ _______ ____ ___ ______ _____ _____ ______.
______ _______ __________ ______ ___.
_________ _____ __________ ______ ______ ________ _________ __________ ___.
___ _____ ____ ________ _________ ___.
________ ______ __________ __________ _____ ______.
___ ___ _______ _______ ___.
______ _________ __________ _____ __________ ___ _______ ________ _______ __________.
_____ ___ _________ ____ ___ _________ _______ ________ ______ _______ ______ __________.
________ ___ ______ ______ ________ ____ ___.
_______ _______ ____ ____ __________ _________.
_____ ________ ____ __________ ____ ________ __________ ___ ________.
_________ _______ ___ _____ ____ ____ ________ __________ ____ ___ ___ __________.
_________ ___ ____ _________ _______ ________ _______.
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 What is wrong with the following declaration? Explain. float *num
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support