Add complement example

This commit is contained in:
Minseong Jang
2022-03-25 14:40:59 +09:00
parent 448335dc39
commit c8813ac7a2
6 changed files with 80 additions and 0 deletions

6
examples/c/complement.c Normal file
View File

@@ -0,0 +1,6 @@
int nonce = 1; // For random input
int main() {
int a = ~nonce;
return a;
}