scanf langage c char problem code example Example: scanf langage c char problem while (getchar () != '\n');