no values returned from function in C

后端 未结 0 658
滥情空心
滥情空心 2021-01-12 01:33

I was trying to write a function that checks if an array has consecutive numbers (not necessarily in order), return 0 if not and 1 if yes.

for example: for 24, 21, 22

相关标签:
回答
  • 消灭零回复
提交回复
热议问题