Answers for "get the size of array in c++ in a function"

C++
2

length of array in cpp

int size = sizeof(arr)/sizeof(arr[0])
Posted by: Guest on May-25-2020

Code answers related to "get the size of array in c++ in a function"

Browse Popular Code Answers by Language