assignment of read only location
Code:... int yes(const char * question) { do { fflush(stdin); printf("\nContinue? (Y/N): "); * question = getchar(); * question = toupper(* question); }while (* question != 'Y' && * question != 'N'); return * question; } ...