What is the difference between taking as a function argument an int pointer or an int array in C++?
void arrayFunction1(int * x) {
  for(int i = 0; i < 10; i++) {
    cout << x[i] << endl;
  }
}
void arrayFunction2(int x[]) {
  for(int i = 0; i < 10; i++) {
    cout << x[i] << endl;
  }
}
int main() {
  int dstdata[10];
  
  arrayFunction1(dstdata);
  arrayFunction2(dstdata);
  
  return 0;
}
Both results look the same to me.
 
    