prntval.c 278 B

123456789101112
  1. /* prntval.c -- finding printf()'s return value */
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5. int bph2o = 212;
  6. int rv;
  7. rv = printf("%d F is water's boiling point.\n", bph2o);
  8. printf("The printf() function printed %d characters.\n",
  9. rv);
  10. return 0;
  11. }