Which of the following standard functions is used to close a file?
Correct Answer: fclose()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C Programming MCQ Questions
Which is the correct way of initializing a twodimensional array?
An array is defined with the following statement in a file, file1.c int a[ ] = { 1, 2, 3, 4, 5, 6 }; In another file, file2.c, the following code snippet is written to use the array a: extern int a[]; int size = sizeof(a); What is wrong with the above code snippet?
Output as a result of the following code snippet? main() { signed char i = 1; for (; i<=255; i++) printf ('%d ',i); return 0; }
Which comparison statements will be true if an integer is 16 bits and a long is 32 bits on a machine?
From which of the following loop or conditional constructs, is 'break' used for an early exit?
For binary files, a ___ must be appended to the mode string.
What type of array is generally generated in Command-line argument?
Declare the following statement? 'An array of three pointers to chars'
Left shifting a number by 1 is always equivalent to multiplying it by 2.
Which function is used to check if the end of the file has been reached in C?