What can be the output of this code if the file content before execution is the string "abc"? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
0
Any answer please??? šŸ™ƒ
30th Sep 2018, 11:40 PM
Vaibhav
Vaibhav - avatar