The function fopen in C opens a file and returns a pointer of type ________.
- FILE*
- char*
- double
- int
In C, the fopen function is used to open a file and returns a pointer of type FILE*, which represents the file stream.
Loading...
Related Quiz
- In a project involving real-time systems, you notice that different modules use different naming conventions for the same data type. What feature of C can help maintain consistency across modules?
- What does the strlen function from the C standard library do?
- How is data stored in a two-dimensional array in memory?
- Pointers can lead to ________ if not managed correctly in a C program.
- What is a potential risk of using the gets() function for reading strings in C?