Void type
In programming languages, a keyword indicating the absence of data
The void type, in several programming languages, more so curly bracket programming languages derived from C and ALGOL 68, is the return type of a function that returns normally, but provides no result value to its caller. Usually such functions are called for their side effects, such as performing some task or writing to their input parameters.
Nº Q513000 ★
Común · Saberes
Void type
In programming languages, a keyword indicating the absence of data
The void type, in several programming languages, more so curly bracket programming languages derived from C and ALGOL 68, is the return type of a function that returns normally, but provides no result value to its caller. Usually such functions are called for their side effects, such as performing some task or writing to their input parameters.
Último precio
—
Precio mínimo
—
Mediana 7 d
—
Ventas 30 d
0
Rango 30 d
—
En circulación
0
Cotización
mediana
mín – máx
ventas
Sin ventas en el periodo
Ver tabla
| Fecha | mediana | Mín | Máx | ventas |
|---|
Historial de ventas
- Última venta
- —
- Media 30 d
- —
- Mínimo 30 d
- —
- Máximo 30 d
- —
- Ventas 7 d
- 0
- Ventas 30 d
- 0
Aún no hay ventas.
Ventas anónimas: sin comprador ni vendedor. Las cifras solo cuentan ventas entre jugadores.
En Wikipedia
Texto en inglés Aún no hay artículo en tu idioma: extracto en inglés.
The void type, in several programming languages, more so curly bracket programming languages derived from C and ALGOL 68, is the return type of a function that returns normally, but provides no result value to its caller. Usually such functions are called for their side effects, such as performing some task or writing to their input parameters. The use of the void data type in such context is comparable to procedures in Pascal and syntactic constructs which define subroutines in Visual Basic. It is also similar to the unit type used in functional programming languages and type theory. See Unit type#In programming languages for a comparison. C and C++ also support the void pointer (or pointer to void type), denoted void*, but this is an unrelated notion. Variables of this type are pointers to data of an unspecified type, so in this context (but not the others) void* acts roughly like a universal or any type; it does not literally "point" to a void in memory. A program can convert a pointer to any type of data (except a function pointer) to a pointer to void and back to the original type without losing information, which makes these pointers useful for polymorphic functions. The C language standard does not guarantee that the different pointer types have the same size or alignment.
Texto: Wikipedia en inglés, CC BY-SA 4.0. ·
Cartas cercanas
Dependent type
Data type whose definition depends on a value
Nº Q997433 ★★
Subrutina
Subalgoritmo que forma parte del algoritmo principal, el cual permite resolver una tarea específica
Nº Q190686 ★★
ALGOL 68
Lenguaje de programación
Nº Q2166735 ★
Unit type
Type allowing only one value in type theory
Nº Q1307872 ★★
Efecto secundario (informática)
Efecto adicional causado por una función (en un determinado lenguaje de programación) además de la devolución de un determinado valor
Nº Q1144241 ★★
ALGOL 60
Member of the ALGOL family of computer programming languages
Nº Q1209759 ★★