So I am in the process of learning C and am slightly confused by this statement on the website I am learning from.
if you have
char ch_arr[3][10] = {
"spike",
"tom",
"jerry"
};
It says that.
The
ch_arr
is a pointer to an array of 10 characters orint(*)[10]
However, what is the meaning of int(*)[10]
, if this is a character array, why is the pointer not a char type?
Thanks in advance, sorry if the question is bad, I'm trying to get better at asking questions.