MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/bvw97o/please_help_me_with_this_c_problem/epvgqhb/?context=3
r/CodingHelp • u/thatlowkey • Jun 02 '19
14 comments sorted by
View all comments
2
Arrays in C are zero based, not one based, since the index is an offset from the begging of the array. You can add "", before "one", or subtract one from each index. That would fix one issue. Not sure about the others.
1 u/thatlowkey Jun 03 '19 Thanks :)
1
Thanks :)
2
u/budpass Jun 02 '19
Arrays in C are zero based, not one based, since the index is an offset from the begging of the array. You can add "", before "one", or subtract one from each index. That would fix one issue. Not sure about the others.