I passed a array to function and tried to find the length of the array . but the result was not expected . can anybody explain please?
int main() { int arra
sizeof(arr)
is the size of a pointer, not the size of the block arr points to.
arr