i wanna know what is the difference between
void fct1(int *p)
and
void fct1(int p[])
i know that both are pointers but are there any differences
There is absolutely no difference when used as a function parameter like that. The compiler treats both forms identically.
1.4m articles
1.4m replys
5 comments
57.0k users