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...

Toggle nth bit in a given integer - num

Answer Posted / qint

num ^ (1 << n)

Is This Answer Correct ?    31 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1260


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2926


What are the advantages and disadvantages of c language?

1069


I need previous papers of CSC.......plz help out by posting them.......

2350


Describe explain how arrays can be passed to a user defined function

1162


What are actual arguments?

1153


Explain what are the standard predefined macros?

1164


Why should I use standard library functions instead of writing my own?

1313


What does sizeof function do?

1254


What do you mean by a local block?

1127


How can you find the exact size of a data type in c?

1044


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1990


What would be an example of a structure analogous to structure c?

1047


How can I call a function with an argument list built up at run time?

1285


Explain what is meant by 'bit masking'?

1264