1.

int main(){ char ch='A';fstream fileout("data.dat",ios::out);fileout<<ch;int p=fileour.tellg();cout<<p;return 0;}What is the output if the file content before the execution of the program is the string "ABC"?(Note that " " are not part of the file).

Answer»

  is the output if the file content before the execution of the program is the string "ABC".



Discussion

No Comment Found

Related InterviewSolutions