Is there any major difference between them? To me it looks the same...and according to some googling it seems the same as well..Just wanna confirm it here..
void getAnything(int arr [])
{
arr[0] = 2;
}
versus
void getAnything(int *arr)
{
arr[0] = 2;
}
main
int main()
{
int arr [1];
getAnything(arr);
}