Tutorial 1_17

Felder initialisieren

______________________________________________________________________
// 1_17 Felder initialisieren
#include <stdio.h>

void main(void)
{
    int array[] = { 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610};
    printf("Der Array umfasst %d Elemente\n", sizeof(array) / sizeof(array[0]));
}
______________________________________________________________________
Zurück