Answers to questions on output in C

  1. How could the following be written more simply?
    printf("Hello world%c",'\n');
    
    printf("Hello world\n");
  2. Why is a single format for floating point numbers not really adequate?
    Because we may need to control how precision is represented.

Back to the questions.


Back to notes on output.