sysy-data/functional_c/sy/40_unary_op.sy

12 lines
146 B
Plaintext

#include "sylib.h"
int main() {
int a;
a = 10;
if (+-!!!a) {
a = - - -1;
}
else {
a = 0;
}
return a;
}