What is pointer & array in C programing language?
Answers
Answered by
0
Explanation:
In most contexts, array names decay to pointers. In simple words, array names are converted to pointers. That's the reason why you can use pointers to access elements of arrays. However, you should remember that pointers and arrays are not the same.
There are a few cases where array names don't decay to pointers. To learn more, visit: When does array name doesn't decay into a pointer? I HOPE IT'S HELP YOU THANK YOU
Answered by
5
Answer:
In C, you can declare an array and can use pointer to alter the data of an array. This program declares the array of six element and the elements of that array are accessed using pointer, and returns the sum. //Program to find the sum of six numbers with arrays and pointers.
hope it will help you and good night
Similar questions