Union Memory Sharing

C Hard 4 views
Back to Questions
Previous Const Challenge Hard P

Problem Description

Create a union containing an int, float, or char array. Store a value in one member, then read it from the other. What value will be returned, and why (concept of memory overlap)?

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev