Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What are the different types of errors?

1136


Do you know the difference between exit() and _exit() function in c?

1059


How pointer is different from array?

1074


If errno contains a nonzero number, is there an error?

1367


What is equivalent to ++i+++j?

1088


write a program to rearrange the array such way that all even elements should come first and next come odd

2275


Tell me the use of bit field in c language?

1064


What is bash c?

1008


What is union in c?

1115


Define Spanning-Tree Protocol (STP)

1125


Why & is used in c?

1184


number of times a digit is present in a number

2037


What is the purpose of macro in C language?

1113


Explain what is the difference between a free-standing and a hosted environment?

1182


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

1169