面向对象程序设计(C++)知到智慧树期末考试答案题库2024年秋北方工业大学.docxVIP

  • 4
  • 0
  • 约9.47千字
  • 约 8页
  • 2024-12-28 发布于浙江
  • 举报

面向对象程序设计(C++)知到智慧树期末考试答案题库2024年秋北方工业大学.docx

面向对象程序设计(C++)知到智慧树期末考试答案题库2024年秋北方工业大学

重载运算符需要的关键字为()

A:operatorB:templateC:constD:static

答案:operator

对于结构体中定义的成员,其默认的访问权限为()

A:publicB:staticC:privateD:protected

答案:C:private

#includeclassStudent{staticintrollno;public:voidshow(){rollno++;printf(%d,rollno);}};intStudent::rollno=

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档