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

what is the use of ~ in c lang?????

Answer Posted / c.p.senthil

Agree with answer 2.
~ is used to find the 1's complement of any number
ex:
a = 0xCA (in hex) => 11001010 (in binary)
~a = 0x35 (in hex) => 00110101 (in binary)

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain c preprocessor?

1094


Explain union. What are its advantages?

1065


What is the size of enum in c?

1103


Is it better to use malloc() or calloc()?

1094


Why cant I open a file by its explicit path?

1019


What does typeof return in c?

1077


How does struct work in c?

1063


Is it possible to initialize a variable at the time it was declared?

1204


What is the use of function overloading in C?

1151


What are the different categories of functions in c?

1121


What is c++ used for today?

1098


Tell me about low level programming languages.

1108


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

2166


Which driver is a pure java driver

1580


Explain bitwise shift operators?

1229