2023年2月22日
摘要: &逻辑与 false&false=flash flash&true =flash true&flash=flash true&true=true &&短路与 false&false=flash flash&true =flash true&flash=flash true&true=true 第一个 阅读全文
posted @ 2023-02-22 16:56 ithzh 阅读(45) 评论(0) 推荐(0)
摘要: int x=1; int y=x++; ++在后,先备份后自增将备份的值赋值给y。 int x=1; int y=++x; ++在前,仙子增后备份将备份的值赋值给y。 int x=1; x=x++; ++在后,先备份后自增将备份的值赋值给X 所以自增的2被备份覆盖了 阅读全文
posted @ 2023-02-22 16:21 ithzh 阅读(28) 评论(0) 推荐(0)