ASR3.1/TP3/Ex4.c
2021-10-08 15:33:49 +02:00

13 lines
243 B
C

#include <stdlib.h>
#include <stdio.h>
int main(int argc, char const *argv[]) {
int i = 0;
char* envstr = getenv("RUN_0");
while(envstr != NULL) {
printf("%s", envstr);
i++;
envstr = getenv("RUN_"+ (i+30));
}
return EXIT_SUCCESS;
}