Posts by Ant-hrax • 1 point
1 post
-
-2
votes4
answers2799
viewsA: String reading with two or more names
If I am not mistaken, it is possible to use the number of characters in the %s which will include space as a character. Ex: scanf("%50[^\n]s", nome); This allows up to 50 characters in the variable…