Vous êtes sur la page 1sur 3

Estructura de un programa C /* Programa de Ejemplo Fecha_ Autor_ */ #include ____ #define ____ typedef ____ [Prototipos] int main(void)

{ [variables] /* descripcion */ [instrucciones] return 0; }

INSTRUCCIONES

Declaracion de Variables Tipo Entero Entero Corto Entero Largo Entero sin Signo Entero con Signo Declaracin Int A; Short Int A; Long Int A; Unsigned Int A; Signed Int A; Limite Inferior -32768 -128 2E -6 0 -65000 Limite Superior 32767 127 2E 6 65535 65000

Real Real Doble Real Largo Caracter Caracter sin signo Caracter con signo Palabra Valor Nulo Arreglo Texto ante Apuntador

Float A; Double A; Long DoubleA; Char A; Unsigned Char A; Signed Char A; Char[ ] A; Void Int A[N] Text A; A; *A

-3.4E37 -1.7E -304 3.4E -4932 -128

3.4E 38 1.7E 308 1.1E 4932 127

Vous aimerez peut-être aussi