pages:
  • 1
Daneshvar Amrollahi SAYS

why i am getting runtime error? my program gives the right output with the sample. It also returns 0 at the last.

BECCA SAYS

Daneshvar Amrollahi said:

why i am getting runtime error? my program gives the right output with the sample. It also returns 0 at the last.

The syntax of passing an array is not correct. That's why you getting this error.