+ 4

Is array name is always act as a pointer to first element or not? In C

I also searched it in google,it shows that array name not always acts as a pointer.... What does it means..... Can anyone please explain me? But below code work perfectly? https://code.sololearn.com/cr7fj63N2H50/?ref=app

19th Oct 2020, 5:27 AM
Yogeshwaran P
Yogeshwaran P - avatar
2 Answers
+ 7
Array is not a pointer but it acts like a pointer. Read this: https://stackoverflow.com/questions/1641957/is-an-array-name-a-pointer
19th Oct 2020, 5:38 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 3
Thank you so much Martin Taylor for your's best explanation....🙌 && Thank you Koral Q for your's eagerness and willing in solving questions😊
19th Oct 2020, 11:34 AM
Yogeshwaran P
Yogeshwaran P - avatar