#include <stdio.h>
#define N 5 // definizione per il preprocessore
int a[N] = { 0 }; // mette tutti gli elementi a 0
void proc() {
int i;
for (i = 0; i < N; i++) {
a[i] += 1;
}
for (i = 0; i < N; i++) {
printf("%d ", a[i]);
}
}
void main(void) {
proc();
}
To embed this project on your website, copy the following code and paste it into your website's HTML: