Write a program or provide a pseudo code to flip the 2nd bit
of the 32 bit number ! (Phone Screen)



Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)..

Answer / ankit parikh

x-OR the number with 0x02.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C Interview Questions

Which built-in library function can be used to match a patter from the string?

0 Answers  


#define d 10+10 main() { printf("%d",d*d); }

6 Answers  


who is the editor of 'pokemon'?

1 Answers  


write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]

7 Answers   Calsoft,


How to establish connection with oracle database software from c language?

0 Answers  


What does %f mean c?

1 Answers  


How can I swap two values without using a temporary?

0 Answers  


Who is the main contributor in designing the c language after dennis ritchie?

0 Answers  


write a program to find lcm and hcf of two numbers??

1 Answers  


What are the features of the c language?

0 Answers  


What do mean by network ?

0 Answers  


what are advantages of U D F?

1 Answers   Google,


Categories