79410215

Date: 2025-02-03 23:08:59
Score: 1
Natty:
Report link

In the end of the function main you are trying to pass a variable to a function that receives a pointer (MaxSales). You need to pass the address of this variable, using the operator &, as showed bellow.

MaxSales(&Com[1]);

return 0;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nilson mendes