Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のような初期値を持つ C で構造体を作成したい:
typedef struct { int id = 0; char *name = "none"; } employee;
上記の方法では無理だと思いますが、他に方法はありますか?