As quzah suggested, you would want an fgets / sscanf pair; which is the easiest way, IMO, to get user input. So something like this:
Code:
#include <stdio.h>
int main(void){
char inputBuffer[100]={0};
char word1[10]={0}, word2[10]={0};
printf("> ");
//grab entire lineof input
fgets(inputBuffer, sizeof(inputBuffer), stdin);
//Parse the line into, in this case 2 different strings seperated by spaces
//it could be any format you want, e.g. %s %d %s %c, ect.
sscanf(inputBuffer, "%s %s", word1, word2);
printf("Word1:%s Word2:%s ", word1, word2);
getchar();
return (0);
}