
7 May
2005
7 May
'05
4:25 p.m.
At 12:04 PM -0700 2005/5/7, Jacob Nelson wrote:
GCC knows how big an array is:
jake$ cat > arrsizetest.c #include
int main() { int a[50]; printf("sizeof a == %d\n",sizeof(a)); return 0; } jake$ gcc arrsizetest.c jake$ ./a.out sizeof a == 200
jacob
gcc knows the size of an array variable only in the scope of its definition:
#include