char buffer[128]
ret = scanf("%s %s", buffer);
This only allows me to print the first string fed into console. How can I scan two strings?
char buffer[128], buffer2[128];
ret = scanf("%s %s", buffer, buffer2);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With