#include <iostream>
using namespace std;
#include <cstring>
int main()
{
	cout << "Hi, what is your name? ______________\b\b\b\b\b\b\b\b\b\b\b\b\b\b";
	const int Size = 15;
	char name[Size];
	cin.getline(name, Size);
	cout << "\n";
	cout << "Hi, " << name << ".\n";
	cout << "\a";
	cout << "Your name has " << strlen(name) << " characters, and takes up " << sizeof (name) << " bytes.\n";
	cout << "Your initial is " << name[0] << ".\n";
	
	cin.get();

	cout << "What is your favorite food? ______________\b\b\b\b\b\b\b\b\b\b\b\b\b\b";
	char food[Size];
	cin.getline(food, Size);
	cout << "I have some yummy " << food << " for you " << name << ".\n";

	cin.get();

	cout << "The address where your name is stored in this program is: " << &name << "\n";
	cout << "The address where your favorite food is stored in this program is: " << &food << "\n";

	cin.get();

	return 0;
}
