View Single Post
Re: sizeof of argument array might be suprising...
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default 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)
  
Reply With Quote