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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / bikash

~ is used to complement a hex value.
eg a = ~0x01;
//now a will have 0xFE;

Is This Answer Correct ?    2 Yes 0 No

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

Answer / guest

we r using this key word for equal and shine operator

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

list the no of files created when c source file is compiled

9 Answers   TCS,


How the c program is executed?

0 Answers  


List the difference between a 'copy constructor' and a 'assignment operator' in C?

0 Answers   Accenture,


Write a program to compare two strings without using the strcmp() function

42 Answers   Accenture, Arba Minch University,


What is encapsulation?

2 Answers  


When should the register modifier be used? Does it really help?

0 Answers  


Consider the following C program. #include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain

2 Answers  


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

0 Answers  


Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining .

4 Answers   State Bank Of India SBI,


differnce between do and do while

3 Answers   DOEACC,


What is the acronym for ansi?

0 Answers  


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

0 Answers  


Categories