fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. bool x,y,z;
  5. x = false;
  6. y = true;
  7. z = false;
  8. if(X || Z) {
  9. printf("123");
  10. } else {
  11. printf("123");
  12. };
  13.  
  14. return 0;
  15. }
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:5: error: ‘X’ was not declared in this scope
  if(X || Z) {
     ^
prog.cpp:8:10: error: ‘Z’ was not declared in this scope
  if(X || Z) {
          ^
stdout
Standard output is empty