Hansumnos

Results 1 issues of Hansumnos

You can use "scanf("%d[^\n],variableName);" to store a string including the space to provide enough memory to the variable. ex: ``` char name[100]; printf("Enter a name); scanf("%[^\n]",name); printf("%s",name); ```

dailyhack
coding