Mega Code Archive
Categories
/
C
/
Console
Read a certain length of string
#include
int main(void) { int i; char str[80], str2[80]; scanf("%20s", str); printf("%s", str ); return 0; }