How would you differentiate between the terms pointer to an array and array of pointers? Give proper examples.
A pointer to an array and an array of pointers are two distinct concepts in C and other programming languages that support pointers.
A pointer to an array refers to a pointer variable that holds the address of the entire array. The pointer is used to access _________ __________ _________ ____ ________.
___ ____ ________ _______ __________ ________.
_____ ________ ______ _________ _____ __________.
______ ______ _______ __________ _________ ______ ________ _______ _________.
____ _______ ___ _____ ______ _________ _________ ____ _________.
______ ____ __________ ____ _____ ___.
__________ ______ ___ ___ ________ _________ ____ _____ ____ ____ _________ ______.
_____ ______ ____ _____ ___ _____ ________ __________.
_____ ________ __________ _______ _________ ______ ______ ___ __________ ___.
_______ ___ _____ _________ ________ ___ __________ ________.
___ ___ __________ ________ ____ ___ ____.
_____ ___ _________ ___ _____ ________ ___ _______ _________ ________ _____ _________.
___ _____ ____ ________ ______ _________ ____ _______ _______ __________ ____ _________.
________ __________ _________ _____ ______ _____ _________ _____ ___ ______ ___.
_____ ___ __________ ______ ____ _____ ____ ____ ______ _____ ______ __________.
___ __________ ______ ___ __________ ______ ____ ___ _________ _____ __________.
_________ _______ _____ _____ ____ __________ __________ __________ _________ _________ _______ ___.
_________ __________ _________ _________ ___.
__________ __________ _________ ________ ____ _________ _______ ______ __________ ____ _________ _____.
___ _________ _______ ________ _______ __________ ______ _________.
_________ __________ ___ _______ ______ ___ ___ __________ _______.
__________.
Get Full Answer on WhatsApp