For binary files, a ___ must be appended to the mode string.
Correct Answer: “b”
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
Output of the following program? main( ) { int foo = ('k' - 'j')/4; printf('foo = %d',foo); return 0; }
Smallest element of an array is called as __.
A file written in text mode can be read back in binary mode.
An array elements are always stored in ____ memory locations.
Which standard functions is used to close a file?
Study the following code: int n = 2; int a[n]; What is the error in the above code?
Following code is executed? { int num; num =0; do {-- num; printf('%d\n', num); num++; } while (num >=0); }
Output as a result of the following code snippet? main() { int i=5; char option = 5; switch(option) { case '5': printf('case : 1 \n'); break; case i: printf('case : 2 \n'); break; default: printf('case : 3 \n'); break; } return 0; }
Output as a result of the following code snippet? #define max(a, b)((a) > (b)?(a):(b)) main() { int a=4, c = 5; printf('%d ', max(a++, c++)); printf('%d %d\n', a,c); }