What is the use of fflush(stdin) in c++?
Answers were Sorted based on User's Feedback
Answer / saravanan
fflush will used to write file immediately instead of
storing in the memory.
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / paul
For input streams, fflush() discards any buffered data that has been fetched from the underlying file, but has not been by the application.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / poonam
Is it used for any memory management or buffer management?
I thought over it and the answer i got was that it is used
for buffer memory management...Is it correct?
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / madhava
enter a result at the input given data to particular location
| Is This Answer Correct ? | 0 Yes | 3 No |
what is the advantage in software? what is the difference between the software developer and Engineer
What is inheritance in oop?
What is the difference between the c++ & java?
Whats is abstraction in oops?
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.
Why do we need oop?
Definition of Object Oriented Programming in single line?
33 Answers Impact Systems, Q3 Technologies, TCS,
what is the definition of incapsulation
Why is encapsulation used?
What is abstraction and encapsulation?
What is coupling in oops?
3. Differentiate verification and validation.