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.
2.1m questions
2.1m answers
60 comments
57.0k users