>
Exams
>
Computer Science & Information Technology
>
Programming and Data Structures
>
which c function allows the programmer to move the
Question:
Which C function allows the programmer to move the file pointer to a specific location within a file?
Show Hint
Use \texttt{fseek()} for random access to file contents by shifting the file pointer.
TS PGECET - 2024
TS PGECET
Updated On:
May 26, 2025
fmove
fseek
fcursor
fputc
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
The `fseek()` function sets the file position of the stream to a given offset. It is used to randomly access a file.
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Programming and Data Structures
In object-oriented programming, which of the following is true about "Polymorphism"?
Karnataka PGCET - 2025
Computer Science and IT Engineering
Programming and Data Structures
View Solution
Which of the following is the correct sequence of memory hierarchy from fastest to slowest?
Karnataka PGCET - 2025
Computer Science and IT Engineering
Programming and Data Structures
View Solution
Which of the following is a correct statement regarding object-oriented programming (OOP)?
Karnataka PGCET - 2025
Computer Science and IT Engineering
Programming and Data Structures
View Solution
Which of the following data structures is most suitable for implementing a priority queue?
Karnataka PGCET - 2025
Computer Science and IT Engineering
Programming and Data Structures
View Solution
Which of the following is a characteristic of the ``Queue" data structure?
Karnataka PGCET - 2025
Computer Science and IT Engineering
Programming and Data Structures
View Solution
View More Questions
Questions Asked in TS PGECET exam
A bag contains 3 red and 2 blue balls. Two balls are drawn without replacement. What is the probability that both are red?
TS PGECET - 2025
Probability
View Solution
Which of the following techniques is primarily used for the synthesis of carbon nanotubes?
TS PGECET - 2025
Strength of Materials
View Solution
In which year was the Earth Summit (Rio Conference) held?
TS PGECET - 2025
Environmental pollution
View Solution
The term "carrying capacity" refers to:
TS PGECET - 2025
Sustainable Development
View Solution
Which of the following is an example of non-point source pollution?
TS PGECET - 2025
Environmental pollution
View Solution
View More Questions