0
when adding a pointer in any main body like a inventory displayer , does it matter about the order of placement? Is it necessary to have " return 0;" at the end of it if or is it included with original maroon body? thanks in advance!
creating a pointers
2 Answers
+ 1
return 0; is error checking to see if the program exited successfully, put it wherever the end of your program is.
0
returning any number apart from 0 represents error and u can find by checking program status code where the issue was