Reading a character from the keyboard keeps giving me problem. When I do a gcc -o progname progname.c and ./progname, and press enter, it doesn't stop to receive the character. How can I correct this ?

Code blocks are created by indenting at least 4 spaces
... and can span multiple lines
#include<stdio.h>
char c;
int main(void)
{ 
 printf("\nEnter character ");
 scanf("%c",c);

 return 0;
}

save it to the address of c make that:

 scanf("%c",&c);