garden/content/references/C 语言速成讲座 第一课.md
SouthFox cb37e6a77b
All checks were successful
/ deploy (push) Successful in 1m12s
[build] create dir
2024-06-04 14:52:49 +08:00

15 lines
581 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

+++
title = "C 语言速成讲座 第一课"
author = ["SouthFox"]
date = 2022-09-03T23:53:00+08:00
lastmod = 2022-09-04T00:00:58+08:00
tags = ["publish"]
draft = false
+++
- 数据类型存储长度和系统位数有关
- C 语言里 0 既是假,非零为真(意味着很容易出 BUG
- 常见逻辑操作,可以把容易判断的操作放在左边,这样耗时的判断或许可以被跳过(断路思想)。
- && 逻辑且,见假为假
- || 逻辑或,见真为真
- \n 表示下一行,\\0 通常来表示一个字符串的结束