Code:
#include <stdio.h>
#include <conio.h>

int main()
{
    char userarray[];
    int i;
    
    i = 0;
    
    printf("Hello! Please input a string that is 7 characters long");
    printf("%s", &userarray[6]);
    
    while (i <= 7);
    {
          printf("%s", userarray[i]);
    }
    
getch();
return 0;
}
This is my code. I only know very little about c. I'm sure this is not sufficient enough, can you please guide me on what to do next? Thanks