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 / vignesh1988i

it's not possible to change the bit individually by the user
.. the user doen't have permission..... it should not be
allowed for security purposes... then the data can be easily
hacked....



thank u

Is This Answer Correct ?    1 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

615


What are the application of c?

664


What is spaghetti programming?

686


How many keywords are there in c?

613


How do I use void main?

643






What does the file stdio.h contain?

614


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1876


write a program to find out prime number using sieve case?

1655


Explain the process of converting a Tree into a Binary Tree.

2125


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1448


What is output redirection?

705


Why are all header files not declared in every c program?

615


Explain c preprocessor?

693


In c language can we compile a program without main() function?

592


How can I sort more data than will fit in memory?

643