Explain 'bit masking'?



Explain 'bit masking'?..

Answer / Shilpi Sharma

Bit masking is a technique used in programming to perform bitwise operations on integers for specific purposes, such as setting, clearing, testing, or manipulating individual bits within an integer. This can be done by using binary values known as masks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is data type long in c?

1 Answers  


Is null always defined as 0(zero)?

1 Answers  


What is an auto variable in c?

1 Answers  


How can I find out if there are characters available for reading?

1 Answers  


What is difference between main and void main?

1 Answers  


List out few of the applications that make use of Multilinked Structures?

2 Answers   Accenture,


what is the difference between global variable & static variable declared out side all the function in the file.

2 Answers  


Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global.

6 Answers   FCI, TCS,


implement general tree using link list

1 Answers   Wipro,


int a=20; int b=30; int c=40; printf("%d%d%d"); what will be the output?

5 Answers   CMC,


please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics

1 Answers  


sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?

2 Answers  


Categories