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
Listen in Python
Quiz
•
University
10 questions
Komdat Chap 2
Quiz
•
University
10 questions
ITESA Roadmap Event 12-09-24
Quiz
•
University
10 questions
CSE-205-DCN-UNIT 6-QUIZ
Quiz
•
University
10 questions
Implementing Mass Storage Application
Quiz
•
10th Grade - University
10 questions
Introduction to NumPy (easy)
Quiz
•
University
11 questions
Digital Mindset
Quiz
•
University
10 questions
6-文件操作
Quiz
•
University
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
