Possible Duplicate:
How to find the sizeof(a pointer pointing to an array)
i am passing an array to a function. is there is any way of finding the size of array in that function.
i don't think that sizeof function works as only pointer to first element of the array is passed to the function.
sizeof(arr)/sizeof(arr[0])
i don't think that the above code works. is there any other way...
Thanks...