what is the use of ~ in c lang?????
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / guest
we r using this key word for equal and shine operator
Is This Answer Correct ? | 1 Yes | 0 No |
matrix multiplication fails introspect the causes for its failure and write down the possible reasons for its failurein c language.
What is the use of in c?
What is void main () in c?
How can type-insensitive macros be created?
where does malloc() function get the memory?
which one low Priority in c? a)=,b)++,c)==,d)+
Total of how many functions are available in c?
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
write a program for the normal snake games find in most of the mobiles.
What is the meaning of 2d in c?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
What is spaghetti programming?