Appears as if you are compiling it as C++ code instead of C. PS. When you post code snippets, try including everything relevant to the given piece of code/errors. I.e. in this case, you most likely are including <stdlib.h>, but that does not show in the snippet (even little things … Read More
Edited by mitrmkar: n/a
Edited by akssps011: n/a
Edited by mitrmkar: 'to some extent'