C Tutorial/printf scanf/scanf length
Scanf up to 79 chars into str
<source lang="cpp">#include <stdio.h>
int main(void) { char str[80], str2[80]; int i; scanf("%79s", str); return 0; }</source>
<source lang="cpp">#include <stdio.h>
int main(void) { char str[80], str2[80]; int i; scanf("%79s", str); return 0; }</source>