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

Is swift based on c?

1053


What is the difference between void main and main in c?

1096


What is the use of header?

1051


Why is structure padding done in c?

1071


What is c programming structure?

1111


How do we open a binary file in Read/Write mode in C?

1177


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

953


How many levels of pointers can you have?

1135


please give me some tips for the placement in the TCS.

2054


What is the purpose of realloc()?

1094


Which one would you prefer - a macro or a function?

1034


How can you convert integers to binary or hexadecimal?

979


Explain what is the heap?

1014


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1018


When would you use a pointer to a function?

993