1.

int main(){ char ch='A';fstream fileout("data.dat",ics::app);fileout<<ch;int p=fileout.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