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; }

24th Sep 2018, 12:39 AM
Vaibhav
Vaibhav - avatar
1 Answer
0
Any answer please??? 🙃
30th Sep 2018, 11:40 PM
Vaibhav
Vaibhav - avatar