在C 语言中,要打印枚举值,可以使用printf() 函数。示例代码如下: #include <stdio.h> // 定义一个枚举类型 enum fruit {apple, banana, orange}; int main() ...
確定! 回上一頁