How can I introduce multiple strings in input and output with scanf()? Is it possible to do that without using 100 notations (e.g. a, b, c, d, e -> "%c %c %c", a, b, c etc.)?
I type this:
#include <stdio.h> 
int main()
{
    char user_str[20];
    scanf("%s", user_str);
    printf("%s", user_str);
    return 0;
}
Which works for the first word as input and output, but if I want to introduce 100 propositions with space in the text, how can I type the code to do that in the easiest way possible?
 
     
     
     
    