Interview Questions
Interview Guides
Experiences
Explore
Get started
Sign in
Interview Guides
All questions
/
Coding
Nth Bit Macro
Easy
Asked at 1 company
Bit Manipulation
Math
Problem
Write a macro to set and clear the nth bit of a given integer.
Question
Answer
Problem
Write a macro to set and clear the nth bit of a given integer.
Your answer
Edit
Preview
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.
0 words
target ~200
Try a free preview
Stuck? Get a hint
Past attempts
Up next
Bit Manipulation Macros
Easy
Bit Manipulation Macro
Easy
Bit Manipulation Macros
Easy
Next question
Nth Bit Macro | Dataford Interview Questions