Ad
  • Custom User Avatar

    See compiler's warning message:

    warning: sizeof on array function parameter will return size of 'const int *' instead of 'const int [10]'

    And why would you even use sizeof? You know that every input is 10 digits long ...