Unit 12 : error no

Unit 12 : error no

University

6 Qs

quiz-placeholder

Similar activities

Python Basic level 1

Python Basic level 1

University

10 Qs

Cuestionario Seguridad Dispositivos Capa 2

Cuestionario Seguridad Dispositivos Capa 2

University

10 Qs

HCI Quiz2

HCI Quiz2

University

10 Qs

Kuis Keamanan Komputer : Mengamankan Transaksi Online

Kuis Keamanan Komputer : Mengamankan Transaksi Online

University

10 Qs

CSE205-DCN-QUIZ-UNIT-5

CSE205-DCN-QUIZ-UNIT-5

University

10 Qs

Input Output File

Input Output File

University

10 Qs

SDF_B10B12Tutorial_December26

SDF_B10B12Tutorial_December26

University

10 Qs

OCS752_CP_MODEL 1_PART B (16.10.2020)

OCS752_CP_MODEL 1_PART B (16.10.2020)

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?