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

What is main return c?

937


What is const volatile variable in c?

986


Write a program to show the change in position of a cursor using c

999


Differentiate between new and malloc(), delete and free() ?

1136


Why c is procedure oriented?

1002


Explain the use of 'auto' keyword

1075


What is the right way to use errno?

1006


How can a process change an environment variable in its caller?

1132


What is the difference between declaring a variable and defining a variable?

1188


What is dynamic dispatch in c++?

999


What does c value mean?

1117


Differentiate Source Codes from Object Codes

1485


Did c have any year 2000 problems?

1063


What is the use of bitwise operator?

1070


Explain enumerated types in c language?

993