Straight-forward, isn't it? With these declaration statements, a piece of memory is set aside for the variable.
Psst: while the string
type belongs to the std
namespace, these snippets assume a using directive.
We need to define the type first, and then give the name. Don't worry we'll go deeper into this later.