Passing 'const char [25]' to parameter of type 'char *' discards qualifiers code example
Example: passing 'const char *' to parameter of type 'char *' discards qualifiers
char* write_filename;
fopen((char*)write_filename,"wb");
makedir(write_filename);