0
What can be the output of this code if the file content before execution is the string "abc"?
void main() { char ch='a'; fstream file("data.dat", ios::app) ; file<<ch; int p=file. tellg() ; cout<<p; }
1 Resposta
0
Any answer please??? 🙃
void main() { char ch='a'; fstream file("data.dat", ios::app) ; file<<ch; int p=file. tellg() ; cout<<p; }