write a c program to change only the 3rd bit of the
particular number such that other bits are not affected..
if bitnum=10(say.. it can be any no..

Answer Posted / ravikumar

14

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to find binary of number?

3416


What is the difference between the = symbol and == symbol?

619


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

658


What is openmp in c?

608


Where is c used?

644






How do I read the arrow keys? What about function keys?

610


How can I swap two values without using a temporary?

610


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1672


Is python a c language?

550


Are bit fields portable?

669


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2115


What is %d used for?

580


What is the difference between text and binary modes?

637


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

712


Explain bitwise shift operators?

627