Skip to content
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login
newlogo of cs Electrical And Elect
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login

How to flip the 8th bit in a given 32 Bit integer? uint32_t val= 0xA1B2C3D4;

All Questions › Category: Embedded System › How to flip the 8th bit in a given 32 Bit integer? uint32_t val= 0xA1B2C3D4;
1 Vote Up Vote Down
vaishnavi.talawar asked 4 years ago

a) Val &(1<<8)
b) val^(1<<8)
c) val^(1<<7)
d) Val | (1<<7)

Proudly powered by WordPress | RealEstate Pack Lite by Wp Theme Space.

WhatsApp us