0
How work this code?
int arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; int size = *(&arr + 1) - arr;
3 Respuestas
+ 4
You shouldn't have written any code in Relevant Tags section. Instead, you should use it to specify which language be involved, and optionally some other words that helps describe the problem.
Please follow this tips on how to improve your question's likelihood for getting answers:
https://www.sololearn.com/Discuss/333866/?ref=app
+ 1
https://www.geeksforgeeks.org/how-to-find-size-of-array-in-cc-without-using-sizeof-operator/
https://www.geeksforgeeks.org/whats-difference-between-array-and-array-for-int-array5/