Which of the following statement are true? (Select two answers)
closing an open file is performed by the closefile ( ) function
the second open ( ) argument describes the open mode and defaults to ‘w’
if open ( ) ‘s second argument is ‘r’ the file must exist or open will fail
if open ( )’s second argument is ‘w’ and the invocation succeeds, the previous file’s content is lost
Submit