what is different between file and fopen | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

what is different between file and fopen

17th Oct 2016, 3:42 AM
Mr.Madhooshi
Mr.Madhooshi - avatar
2 Respostas
+ 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