The puts function doesn't print the 3 strings as i input them. They contain garbage.
#include <stdio.h>
#include <stdlib.h>
int main ()
{
char para[20][3];
int x;
for(x=0; x<3; x++)
{
gets(para[x]);
fflush(stdin);
}
for(x=0; x<3; x++)
puts(para[x]);
return 0;
}