What is ifstream c++?



What is ifstream c++?..

Answer / Vikas Kumar Tripathi

ifstream in C++ is an input file stream class. It allows reading data from a file, much like cin reads data from the standard input stream. The 'if' indicates that it is an input file stream, and 'stream' refers to the type of data being read (in this case, a sequence of bytes).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].

1 Answers  


How static variables and local variablesare similar and dissimilar?

1 Answers  


What are iterators in c++?

1 Answers  


Can you write a function similar to printf()?

1 Answers  


What is size of null class?

6 Answers   HP,


How is modularity introduced in C++?

1 Answers   TCS,


What is a try block?

1 Answers  


pls help.. paper bills.. 1000, 500, 100, 50, 20, 10, 5, 1.. create a program that will count all the paper bills in the number being input.. example: enter a number: 3886 there is/are: 3 ->1000 1 ->500 3 ->100 1 ->50 1 ->20 1 ->10 1 ->5 1 ->1 example2: enter a number: 728 there is/are: 0 ->1000 1 ->500 2 ->100 0 ->50 1 ->20 0 ->10 1 ->5 3 ->1

4 Answers  


What is the best free c++ compiler for windows?

1 Answers  


How do I make turbo c++ full screen?

1 Answers  


How can a called function determine the number of arguments that have been passed to it?

1 Answers  


How does c++ sort work?

1 Answers  


Categories