In java is it possible and if not how to calculate in c?
if it's really array (not a pointer), you can do sizeof(arr)/sizeof(*arr)
sizeof(arr)/sizeof(*arr)
1.4m articles
1.4m replys
5 comments
57.0k users