Write a program or provide a pseudo code to flip the 2nd bit
of the 32 bit number ! (Phone Screen)
Answer Posted / ankit parikh
x-OR the number with 0x02.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Is calloc better than malloc?
How does struct work in c?
What is the most efficient way to count the number of bits which are set in an integer?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
What are preprocessor directives in c?
What is the use of bitwise operator?
What is the use of ?
Explain how are 16- and 32-bit numbers stored?
What is time complexity c?
Can we declare a function inside a function in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is the heap?
Explain what is operator promotion?
What are static variables in c?
What does the error message "DGROUP exceeds 64K" mean?