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