how many ways to read a string in c code example Example: read string c char name[20]; scanf("%s", name);