I have a code below where if ran, scanf will ask for a char type value. As you can see, the code has no for loops or do while, but if a value is inserted the code re runs as long as the value is a char type. hope someone could help :)
#include <stdio.h>
main(){
char name;
clrscr();
printf("welcome who?\n->");
scanf("%s",&name);
getche();
return 0;
}