I'm suppose to make and print an array (it's for a game) for selecting numbers from 1 to n. Like if the number entered is 6, then the numbers in the games are "1 2 3 4 5 6" They are only positive nos, so I can put 0 in the 1st array index so things can be easier to follow, so that 1 is in the 1st, 2 in the 2nd, and n in the nth. But when I use this code, I get that there is a ) missing in the printboard function.

Code:#include <stdio.h> #include <conio.h> int main(void) { void makeboard(int board[], int size); int board[101]; int size; printf ("Enter size:-"); scanf ("%d", &size); makeboard(board,size+1); printboard(board,size+1); return 0; } void makeboard(int board[], int size) { int i; for (i=0; i<=size; i++) board[0]=i; } void printboard (char board[], int size+1) { for (int i=0; i<=size+1; i++) { if (board[i]!=0) printf ("%d ", board[i]);}