« * K @kevingosse.net

Kevin Gosse @kevingosse.net

2026-10-01 17:02 UTC

In the uninitialized case it prints 0 only if you don't declare a constructor. If you declare a constructor then you are expected to assign a value, otherwise you get whatever garbage is on the stack.

A reply in a thread.

0 likes, 0 reposts, 0 replies

3 Next post4 More from @kevingosse.netBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup