accept and store strings from user in c code example Example: read string c char name[20]; scanf("%s", name);