mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Add complement example
This commit is contained in:
6
examples/c/complement.c
Normal file
6
examples/c/complement.c
Normal file
@@ -0,0 +1,6 @@
|
||||
int nonce = 1; // For random input
|
||||
|
||||
int main() {
|
||||
int a = ~nonce;
|
||||
return a;
|
||||
}
|
||||
Reference in New Issue
Block a user