Lec3-C intro:Basic HHZZ included in UCB-CS61C 2024-10-05 59 words One minute Contents Compile vs Interpret Syntax C intro: Basic Compile vs Interpret Java 是先编译后解释器解释 C 是编译完成后直接运行,不需要解释器 Syntax 1 2 3 4 int8_t a = 10; int64_t b = 20; int16_t c = a + b; uint32_t d = a - b; 1 2 3 4 5 6 7 typedef uint8_t Byte; typedef struct { Byte a; int b; } MyStruct; MyStruct myStruct = {10, 20};