Back To C++ Single Dimensional Arrays Index
//program to input a string or a char array from the user and then display it #include
#include
void main() { char name[20]; clrscr(); printf("enter your name"); gets(name); printf("name you entered is %s",name); getch(); }