How is the Value of ~a obtained in the below program?

Printable View