What is the use of scanf("\n"); statement before scanf("%[^\n]%\*c", s) ?

```
int main() 
{
    char ch;
    char str [100];
    char s[100];
    scanf("%c",&ch);
    printf("%c",ch);
    scanf("%s",&str);
    printf("\n%s",str);
    scanf("\n");            // <<< what is the purpose of this line
    scanf("%[^\n]%*c",s);
    printf("\n%s",s);
    return 0;
}

```

So what is the use of scanf("\n"); statement before scanf("%[^\n]%\*c", s) ?