Mega Code Archive
Categories
/
C Tutorial
/
Printf Scanf
Scanf up to 79 chars into str
#include
int main(void) { char str[80], str2[80]; int i; scanf("%79s", str); return 0; }