Lecture overview -- Keyboard shortcut: 'u'  Previous page: References -- Keyboard shortcut: 'p'  Next page: References - Examples -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Basic facilities - slide 16 : 42

Rules for references
  int k = 3;
  double a = 5.0;
  double &d = a;
  void f(int &i, double &d);
  f(k,a);

"The absence of const in a declaration of a reference argument is taken as a statement of intent to modify the variable"