宣告定義關鍵字(keyword) struct ,接著是結構名稱,然後用大括弧圍起來的成員宣告,須留意結構定義完的右大括弧其後接分號。 ... printf("a = (%d, %d)\n", a.x, a.y); ...
確定! 回上一頁