#include int main(void){ char str[80]; printf("Enter a string: "); if(gets(str)) /* if not null */ printf("Here is your string: %s", str); return 0;}