Program not display char import is variables

I compile and run the program in linux:
run terminal: gcc hello.c -o hello -lncurses
and: ./hello

code hello.c:
#include <stdio.h>
#include <termios.h> // getch
#include <unistd.h> // getch
#include <curses.h>
void main()
{
char alist[256];

// char s[20];

printf("Nhap vao ten file list : ");

//gets(fileListWav);
scanf(alist);
getchar();
printf("Diep Kin\n", & alist);
getchar();

}


But program not display char import is variables: "alist"
I don't know?
Help me explain the problem.
Thanks you so much!
Thanks you!
Topic archived. No new replies allowed.