#include <stdio.h> int main(void) { int a = 0; printf("~-a = %d\n-~a = %d\n", ~-a, -~a); return 0;}
Standard input is empty
~-a = -1 -~a = 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!