Which of the following statements will display "Problem!" if bit 2 of flags is a '0'?

Recommended Answers

All 3 Replies

int flags = 0xB2;
int mask;
What of the following are the correct statements if bit 6 of flags is to be toggled?

I think you may have posted prematurely. The referenced "following" statements aren't present.

Write a program and find out rather than waiting 7 hours for an answer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.