Correct Answer: ftell()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Programming With C Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Programming With C MCQ Questions
What will happen if you assign a value to an element of an array the subscript of which exceeds the size of the array?
What would be printed on the standard output as a result of the following code snippet? main() { int arr[10]; int a = sizeof(arr); printf('%d\n',a); return 0; }
Which function will you use to position the file pointer at the beginning of the file?
Given the following array: char books[][40]={ 'The Little World of Don Camillo', 'To Kill a Mockingbird', 'My Family and Other Animals', 'Birds, Beasts and Relatives' }; what would be the output of printf('%c',books[2][5]);?
Suppose there is a file a.dat which has to be opened in the read mode using the FILE pointer ptr1, what will be the correct syntax?
Which one is not a valid mode for opening a file?
Which function will convert a string into a double precision quantity?
What would be printed on the standard output as a result of the following code snippet? main() { int n=5, x; x = n++; printf('%d ', x); x = ++n; printf('%d ', x++); printf('%d', x); return 0; }
What will be the output of the following program? #include main() { int n = 5; assert(n > 3); //statement 1 n = n+2; assert(n > 7);//statement 2 return 0; }
Which file mode would mean read + append?