Thread: printf( ... follow fflush(stdout)

  1. #1
    Registered User
    Join Date
    Nov 2019

    printf( ... follow fflush(stdout)

    What is printf( ... followed by fflush(stdout)
    printf("%" PRIu64 "\n", hunt ), fflush(stdout) ;

    supposed to mean
    What's that different to just

    printf("%" PRIu64 "\n", hunt );
    Last edited by maemec; 11-21-2019 at 06:40 AM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. fflush(stdout)
    By ssharish2005 in forum C Programming
    Replies: 6
    Last Post: 05-31-2009, 01:36 PM
  2. fflush(stdout)
    By salvadoravi in forum C Programming
    Replies: 5
    Last Post: 01-21-2008, 02:58 PM
  3. printf to stdout
    By spank in forum C Programming
    Replies: 1
    Last Post: 01-24-2006, 02:19 PM
  4. When and where to use fflush (stdout)?
    By Micko in forum C Programming
    Replies: 8
    Last Post: 02-18-2005, 11:58 AM
  5. Replies: 6
    Last Post: 02-15-2005, 03:34 PM

Tags for this Thread