First page Back Continue Last page Graphics

DEFAULT CONSTRUCTOR

  • Student_info::Student_info() : midterm(0), final(0) { }
  • Between the : and the { is a sequence of constructor initializers. These tell the compiler to initialize the given members with the values that appear between the corresponding parentheses.