Search Header Logo

Sintaxis strtod y strtoul

Authored by Tomas Palazzesi

Computers

University

Used 2+ times

Sintaxis strtod y strtoul
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Si 'strtod' no puede convertir la cadena, ¿qué valor devuelve?

-1

0.0

NULL

1.0

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

En caso de un desbordamiento, ¿qué valor devuelve 'strtoul'?

0

-1

UNLONG_MAX

NULL

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué biblioteca estándar de C se debe incluir para usar la función 'strtod'?

<stdio.h>

<string.h>

<stdlib.h>

<ctype.h>

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Si 'strtod' encuentra una cadena vacía, ¿Qué valor devuelve?

-1.0

1.0

0.0

NULL

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

La función 'strtoul' no puede manejar conversiones en bases diferentes a 10.

Verdadero

Falso

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Si 'strtod' recibe una cadena NULL, siempre devolverá 0.0.

Verdadero

Falso

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?