~   Bitwise Operators in C, Binary Ones Complement Operator is unary and has the effect of 'flipping' bits.

C Programming Language / Operators and Enums in C Language

1399

Program:

#include"stdio.h"
void main()
{
   unsigned int a = 60;	/* 60 = 0011 1100 */  
   int c = 0;  
   c=~a;       
   printf(" Value of c is %d\n",c );
}

Output:

 Value of c is -61
Press any key to continue . . .

This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.