Describe input and output of strings in C program.
1. #include<stdio.h>
2. #include<conio.h>
3. main()
4. {
5. char a[10];
6. clrscr();
7. gets(a);
8. puts(a);
9. getch();
10.}
From
the upper example in line 7 the gets() function is use for the input a string
and in line 8 the puts() function is use
for the output a string.