typedef union { float f; int i; char ch; } sample_t;. 這時候的聯合是匿名聯合(anonymous union),故不占用命名空間。 存取聯合中的元素.
確定! 回上一頁