Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous Difficulty: Medium

What will be the output of the following C++ code? #include<iostream> #include <fstream> using namespace std; int main () { ofstream outfile ("test.txt"); for (int n = 0; n < 100; n++) { outfile << n; outfile.flush(); } cout << "Done"; outfile.close(); return 0; }

Select the correct option to test your answer:

More Computer Questions

Arranging data in a specific order is called Which of the following is the use of function in python? What will be the output of the following R code? x <- c("a", "b", "c") > as.numeric(x) The minimum number of row versions to keep is configured per column family via . . . . . . . . What is the primary role of the Hadoop ResourceManager "Resource Scheduler" in a Hadoop cluster?