SyntaxFix
Write A Post
Hire A Developer
Questions
#include <stdio.h> int main() { char a[5],b[10]; scanf("%2000s %2000[^\n]s",a,b); printf("a=%s b=%s",a,b); }
Just write s in place of \n :)