啃 C [2]

xiaoxiao2021-03-04  63

2004.8.15

1.Printf ("_ ab_c / t_de / rf / tg / n") Print Result: FAB_C ___GDE screen output: f ______ GDE About / T: 1 / t distance does not calculate the first Tab bit from the position of the current cursor, but The leftmost end is calculated 2 / t through the clear "_" (/ b) ------------ 1 "_" representative space

2.'a 'is a character, "a" is a string (last added to 0)

3. C is not like Pascal, there is a string variable, and there is no string variable in c; but the character array of C is the same as String.

4. About the first value: 1Int a, b, c = 3 is different from int a = 3, b, c = 32 compilation phase does not assign initial values, and: int C = 3; with INT C; c = 3 ; Because c is not constant or external parameters, it does not assign a value during the C compilation process.

5. Data operational calculating conversion: double ← float ↑ horizontal to the longitudinal direction for the on-demand ↑ unsigned results with the highest level ↑ INT ← char, short

转载请注明原文地址:https://www.9cbs.com/read-31703.html

New Post(0)