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

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

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use void main?

1071


What is the difference between union and anonymous union?

1268


What is a buffer in c?

972


How can I remove the leading spaces from a string?

1119


What is scope rule of function in c?

1047


Explain zero based addressing.

980


What is a pointer on a pointer in c programming language?

1109


Tell us two differences between new () and malloc ()?

1145


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

1047


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1693


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1095


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1499


What is a lookup table in c?

1075


Why doesnt this code work?

1024


can we change the default calling convention in c if yes than how.........?

2495