Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

What is c preprocessor mean?

0 Answers  


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

0 Answers   RBI,


void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?

1 Answers  


given post order,in order construct the corresponding binary tree

0 Answers   S-Cube, Wipro,


What is a buffer in c?

0 Answers  






What library is sizeof in c?

0 Answers  


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

0 Answers   Google,


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

0 Answers  


write a program to generate address labels using structures?

0 Answers   SJC,


is it possible to create your own header files?

0 Answers  


When is an interface "good"?

1 Answers  


write a program fibonacci series and palindrome program in c

0 Answers   Aditi Placement Service,






Categories