Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
there is no function for this but you can check size of whole array and divide it by size of one element: sizeof(arr)/sizeof(arr[0]);
30th Jun 2016, 5:38 PM
Jonasz Potoniec
Jonasz Potoniec - avatar