The ______ function in C can be used to change the position of the file pointer in a stream.
- fmove()
- fseek()
- fileptr()
- fposition()
The correct option is b) fseek(). This function is used to set the file position indicator for the specified stream, allowing you to move the file pointer to a specific location.
Loading...
Related Quiz
- What is the purpose of the strcpy function in C?
- In a C++ application, you notice that a function is being called with different types of arguments, but there is only one function definition. What feature of C++ could be allowing this behavior?
- What is the primary disadvantage of using dynamic memory allocation for arrays in C?
- When defining a bit field, the data type ________ is typically used.
- When you declare an array, what does the number inside the square brackets represent?