The arrays can be declared as private, public or protected members of the class. ... void student :: tot_marks() //calculating total marks {. int total=0;.
確定! 回上一頁