C++ Segmentation Fault at Union Member Assignment

前端 未结 0 1489
逝去的感伤
逝去的感伤 2020-12-08 06:08

The following code produces a segmentation fault upon assignment to a union member. This must be a result of misunderstanding unions, but I cannot pinpoint my error.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题