If the mode is "rb" as the initial letter, what does it indicates?
Compro. Final1/64 part2

Quiz
•
Computers
•
University
•
Medium
Watcharin Tangsuksant
Used 11+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
text file
big text file
binary file
blueprint text
skip
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What are the C functions used to read or write a file in Text Mode?
fprintf(), fscanf()
fread(), fwrite()
fprint(), fscan()
read(), write()
skip
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
When fopen() is not able to open a file, What will be returned?
EOF
NULL
Run-time Error
None of the above
skip
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Where is a data of the file is stored?
Ram
Hard disk
Rom
Buffer
skip
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which condition is True when it takes a new line?
ch == "\n"
ch == "\r"
ch == "\0"
ch == " "
skip
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
To show the string PREdept by the statement: printf("%s\n", str); which one is the invalid declaration?
char str[] = {'P', 'R', 'E', 'd', 'e', 'p', 't', '\0'};
char str[] = "PREdept";
char *str = "PREdept";
char *str = {'P', 'R', 'E', 'd', 'e', 'p', 't', '\0'};
skip
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Please fill in the blank to print out “Friday” on screen?
*day+4
*day[4]
day[4]
*day-4
skip
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Programming Skills C/C++

Quiz
•
University
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
20 questions
9.4.25 Mentoring quiz

Quiz
•
University
20 questions
Operator in C

Quiz
•
University
25 questions
Code Carnival

Quiz
•
University
20 questions
TECHFEST QUALIFYING ROUND

Quiz
•
University
20 questions
C - Structures

Quiz
•
University
20 questions
Pointers

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade