Unit 12 : error no

Unit 12 : error no

University

6 Qs

quiz-placeholder

Similar activities

Python-quiz2

Python-quiz2

University - Professional Development

11 Qs

Quiz 1

Quiz 1

University

10 Qs

JRB2 Quiz 4

JRB2 Quiz 4

University

10 Qs

Sistem Operasi dan Aplikasi

Sistem Operasi dan Aplikasi

University

10 Qs

MCQ 1

MCQ 1

University

10 Qs

Latex

Latex

University

11 Qs

การใช้โปรแกรมประมวลผลคำ

การใช้โปรแกรมประมวลผลคำ

University

10 Qs

Unit 12 : error no

Unit 12 : error no

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Abhishek Pandey

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?