Saved Bookmarks
| 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» 4 is the output if the file content before the execution of the program is the string "ABC". |
|