The code below generates the following error:
- format specifies type 'int' but the argument has type 'int *' [-Werror,-Wformat]
printf("%i", array);
include
include
int main(void) {
int array[6];
for (int i = 0; i < 6; i++) {
array[i] = get_int();
}
printf("%i", array);
}