Take a look at the following program -- include using


Take a look at the following program -- #include using namespace std; int main( ) { char name[100]; //declare a character array cout << "enter your first name, a space, and your last name: "; cin >> name; cout << "you entered: "<< name << endl; return 0; } What's the proper syntax of declaring a C-style string? Does this program work properly? If not, why? What can be done to correct it?

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Take a look at the following program -- include using
Reference No:- TGS0646548

Expected delivery within 24 Hours