Which mode specifier will erase the contents of a file if it already exists and create it if it does not exist?

Which mode specifier will erase the contents of a file if it already exists and create it if it does not exist?


Answer: 'w'


Learn More :