what is different between file and fopen | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

what is different between file and fopen

17th Oct 2016, 3:42 AM
Mr.Madhooshi
Mr.Madhooshi - avatar
2 Antworten
+ 1
file is what you manipulate, fopen is the function to open the file for r/w operations.
17th Oct 2016, 8:59 AM
Zen
Zen - avatar
+ 1
fopen() - opens file for reading/writing/etc. file() - opens file, then reads all content and closes it.
13th Nov 2016, 10:39 AM
Виталий Свинчак
Виталий Свинчак - avatar