Search:

Type: Posts; User: qny

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,238

    All scanf()...

    All scanf() specifiers except "%c", possibly "%[...]", and (for very different reasons) "%n" ignore leading whitespace.
  2. Replies
    6
    Views
    1,238

    Print the value (and character) of the answer to...

    Print the value (and character) of the answer to the second question:

    printf("Continue?(y/n): ");
    scanf("%c", &answer);
    printf("you answered with the character with...
Results 1 to 2 of 2