Exforsys
+ Reply to Thread
Results 1 to 3 of 3

keyword

This is a discussion on keyword within the C and C++ forums, part of the Programming Talk category; what is the function of fflush(stdin) in c??????...

  1. #1
    Manyamanas is offline Member Array
    Join Date
    Dec 2010
    Answers
    32

    keyword

    what is the function of fflush(stdin) in c??????


  2. #2
    techvinny is offline Moderator Array
    Join Date
    Dec 2010
    Answers
    56
    it is used to flush the buffered input.

    fflush(stdin) is understood to be a flaw in C since flushing the buffered input would not return anything.


  3. #3
    Sandhya.Kishannag is offline Member Array
    Join Date
    Feb 2012
    Answers
    66
    The function fflush(stdin) allows to flush [clear] the input buffer. We use this function if we think that there might be some data in input buffer which can create problems for us while taking user inputs from stdin.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...