Files
Learn-Algorithms/9 Algorithms Job Interview/测试代码/c15.c
T
2021-03-18 21:24:06 +08:00

17 lines
252 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#include <stdio.h>
#define SIZE 10
void size(int arr[SIZE])
{
printf("size of array is:%d\n",sizeof(arr));
}
int main()
{
int arr[SIZE];
size(arr);
return 0;
}
// 32位机器 4, 64位机器 8