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

What will be the output of the following C++ code in the text file? #include <stdio.h> int main () { FILE * pFile; char c; pFile = fopen("sample.txt", "wt"); for (c = 'A'; c <= 'E'; c++) { putc (c, pFile); } fclose (pFile); return 0; }

Select the correct option to test your answer:

More Computer Questions

What is the purpose of the seconds_since_midnight method for a Time object in Ruby? In enterprise data modeling, which is incorrect? The HDFS client software implements . . . . . . . . checking on the contents of HDFS files. What does the isalpha() method of a string object check for? Which data structure allows for the efficient implementation of a circular buffer?