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 the bubble sort algorithm.

1113


What are called c variables?

1127


How do you determine the length of a string value that was stored in a variable?

1170


What is the symbol indicated the c-preprocessor?

1318


Can we access array using pointer in c language?

1129


can anyone please tell about the nested interrupts?

2184


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

1332


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3607


What is difference between function overloading and operator overloading?

1141


Simplify the program segment if X = B then C ← true else C ← false

3066


What is the difference between #include

and #include “header file”?

1091


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1311


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1105


while initialization of array why we use a[][2] why not a[2][]...?

2403


How can I direct output to the printer?

1373