// Declare a variable named 'input_string' to hold our input. char input_string[105]; // Read a full line of input from stdin and save it to our variable, input_string. //%[]==%s,input a string,and '^' means opposite or negative,so '^\n' means getting everything but'\n' scanf("%[^\n]", input_string);