Conflicting bool value in Xcode debugger (c/c++)

Can someone explain this image to me?

The debugger shows that ans.emp is true, but when I assign it to test it shows false, and when I print it directly it also shows false. I am completely baffled by this.

User uploaded file

Xcode-OTHER, OS X El Capitan (10.11.4), null

Posted on May 5, 2016 12:39 PM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Conflicting bool value in Xcode debugger (c/c++)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.