I
I_have_nothing
Hi! I am new in C.
I am reading a C programming book writen in Chinese.
In Page 134 the author says(in Chinese):
"The compiler will not accept the following declarations:
int **ary;
int (*ary);
int ary[ ][ ];
"
But in a sample code a friend gave me there is a line having:
" extern double matrix[][]; "
and the Compiler does not complain about it.
My question is at what situation(s) it is OK to have "matrix[][]"?
In "extern"? In formal parameter? or In what kinds of situtatuions?
Thanks!
I am reading a C programming book writen in Chinese.
In Page 134 the author says(in Chinese):
"The compiler will not accept the following declarations:
int **ary;
int (*ary);
int ary[ ][ ];
"
But in a sample code a friend gave me there is a line having:
" extern double matrix[][]; "
and the Compiler does not complain about it.
My question is at what situation(s) it is OK to have "matrix[][]"?
In "extern"? In formal parameter? or In what kinds of situtatuions?
Thanks!