Question
a.
Reposition the file pointer to a character reverse
b.
Reposition the file pointer stream to end of file
c.
Reposition the file pointer to beginning of that line
d.
Reposition the file pointer to begining of file
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What will the function rewind() do?
Similar Questions
Discover Related MCQs
Q. Input/output function prototypes and macros are defined in which header file?
View solution
Q. Which standard library function will you use to find the last occurrence of a character in a string in C?
View solution
Q. What is stderr ?
View solution
Q. What is the purpose of fflush() function ?
View solution
Q. What will the function randomize() do in Turbo C under DOS?
View solution
Q. What will function gcvt() do?
View solution
Q. C preprocessor
View solution
Q. A preprocessor command
View solution
Q. Choose the correct statement.
I. The scope of a macro definition need not be the entire program.
II. The scope of a macro definition extends from the point of definition to the end of the file.
III. New line is a macro definition delimiter.
IV. A macro definition may go beyond a line.
View solution
Q. In which header file is the NULL macro defined ?
View solution
Q. Which standard library function will you use to find the last occurance of a character in a string in C?
View solution
Q. What is the purpose of fflush() function.
View solution
Q. Can you use the fprintf() to display the output on the screen?
View solution
Q. Which of the following are correct preprocessor directives in C?
1: #ifdef
2: #if
3: #elif
4: #undef
View solution
Q. Which of the following are correctly formed #define statements in C?
View solution
Q. In the following code, the P2 is Integer Pointer or Integer?
typedef int *ptr;
ptr p1, p2;
View solution
Q. In the following code what is 'P'?
typedef char *charp;
const charp P;
View solution
Q. Which header file should be included to use functions like malloc() and calloc()?
View solution
Q. What function should be used to free the memory allocated by calloc() ?
View solution
Q. Specify the 2 library functions to dynamically allocate memory?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!