I'm going over a code exmple from a book and found something I dident know you could do.
To start of a constant char* is declared here:
But may later be changed here:Code:const char* output_filename = NULL;
Does this mean that its OK to set a constant char* to NULL and then reassign it w/o a malloc or anything?Code:output_name = optarg;