Some questions on input in C

  1. Why is it less importent to define multiple format specifiers for input of floating point numbers, compared with output specifiers?

  2. How could the following be written more concisely?
    scanf("%d",&i);
    c = getchar;
    scanf("%d",&j);
    

Some answers to these questions.


Back to notes on input in C.