Implicit declaration of function 'sum' is invalid in C99

前端 未结 2 1833
忘掉有多难
忘掉有多难 2020-12-20 23:33

I\'ve been looking for a solution to this but haven\'t found anything that will help. I\'m getting the following errors:

Implicit declaration of function \'s         


        
2条回答
  •  攒了一身酷
    2020-12-21 00:02

    You need to add declaration for these two functions, or move the two function definitions before main.

提交回复
热议问题