i want to clear a doubt...
please check out the following codes..
int function (int p[])
{
//sm code
}
another style is :
int function (int *p)
{
// sm code
}
here i am passing an array to both the functions...and one receives it through p[] and another through *p....
then what is the difference between both styles ??
or just that the former uses subscript and the latter dereferences the pointer to access the values... ??
please clear out my doubt...