What's the difference, in functions like fopen()
and functions without const, between a char and a const char or const int and the like? Thanks.Code:fopen(const char *filename, const char *mode)
What's the difference, in functions like fopen()
and functions without const, between a char and a const char or const int and the like? Thanks.Code:fopen(const char *filename, const char *mode)
The difference is that they guarantee that the data you pass won't be modified. What else?