I am trying to scan and my method just prints and exits. It won't scan.
int main() {
char *one = (char*)malloc(34* sizeof(char));
char *two = (char*)malloc(16* sizeof(char));
char test ;
printf("please enter a Q \n");
scanf("%c", test);
printf("%c\n", test);
return 0;
}
scanf("%c", test);
should be:
scanf("%c", &test);