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

6th Jul 2016, 4:05 PM
Elgia Johnson
Elgia Johnson - avatar
2 Answers
+ 1
return 0; is error checking to see if the program exited successfully, put it wherever the end of your program is.
15th Jul 2016, 9:46 PM
Null Void
Null Void - avatar
0
returning any number apart from 0 represents error and u can find by checking program status code where the issue was
21st Oct 2016, 9:36 PM
PANKAJ KUMAR
PANKAJ KUMAR - avatar