+ 6
Why is the output 0?
#include <stdio.h> int main() { int x=1-(-1==~0); printf("%i",x); return 0; }
2 odpowiedzi
+ 7
~x = -x - 1
https://www.sololearn.com/learn/4076/?ref=app
+ 3
Because of return 0. You got what is on return.
#include <stdio.h> int main() { int x=1-(-1==~0); printf("%i",x); return 0; }