Unit 12 : error no
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Abhishek Pandey
Used 1+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which library function is used to display an error message corresponding to the error stored in errno?
perror()
printf()
strerror()
fprintf()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the function fopen() return if it fails to open a file?
EOF
0
-1
NULL
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which header file contains the definition of the errno variable?
stdio.h
assert.h
errno.h
time.h
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does EOF stand for in file handling?
End of File
Error on File
all
End of Frame
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many arguments does the main function take when using command-line arguments?
1
-1
2
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does argc represent in the main(int argc, char *argv[]) function?
Argument count
Array of arguments
Pointer to arguments
Argument vector
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
CS100||MsWord
Quiz
•
University
10 questions
Inteligencia Artificial
Quiz
•
University
10 questions
docker iniciante
Quiz
•
University
11 questions
Microsoft Word Office
Quiz
•
10th Grade - University
11 questions
Recap Chapter 6, 7, 8
Quiz
•
University
10 questions
Website Usability and UX
Quiz
•
University
10 questions
Access 1
Quiz
•
University
11 questions
Capítulo 3
Quiz
•
University - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
