I am trying to understand the difference between int *[5]
and int (*)[5]
and my simple code is as below.
int main()
{
int a[5] = {10,11,12,13,14};
int *ptr[5];
ptr = &a;
}
- What is the difference between
int *[5]
andint (*)[5]
in C?