Espacios de nombres
Variantes

strlen

De cppreference.com
< c | string | byte
<tbody> </tbody>
Definido en el archivo de encabezado <string.h>
size_t strlen( char *str );
Devuelve la longitud de la cadena de bytes dado .
Original:
Returns the length of the given byte string.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parámetros

str -
puntero a la cadena de bytes de terminación nula a examinar
Original:
pointer to the null-terminated byte string to be examined
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

La longitud de la cadena terminada en nulo str .
Original:
The length of the null-terminated string str.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ejemplo

Ver también