Thread
:
sizeof of argument array might be suprising...
View Single Post
Re: sizeof of argument array might be suprising...
(#
2
)
Whistler
Summoner
Status:
Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Re: sizeof of argument array might be suprising... -
18-07-2007
the arrays in parameters are the same as pointers, so that's why you got result like that.
i.e.,
int func_test_array3(int test_array3[6])
is 100% the same as:
int func_test_array3(int *test_array3)
Whistler
View Public Profile
Send a private message to Whistler
Visit Whistler's homepage!
Find More Posts by Whistler