Lecture 2 - Slide 6 : 29
The structure of a declaration

A declaration of a single entity consists of a four parts:

A base type, a declarator, a specifier (optional), and an initializer (optional)

  unsigned int i = 7;
  const double d = 5.7;
  char* str[] = {"This", "is", "a", "string", "array"};
  extern short int ei;
  bool is_even(int a);
  Point p1(1,2);
  Pair q1 = {3,4};
decl-str-3.cc
More examples of declarations.