online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Welcome to code of Lập trình - Điện tử Series: C Author: Nghĩa Taarabt *******************************************************************************/ #include <stdio.h> int main() { int a = 1, b = 0, c = 5; // Logic AND printf("a && b: %d\n", a && b); // 0 (false, vì b = 0) printf("a && c: %d\n", a && c); // 1 (true, vì cả a và c khác 0) // Logic OR printf("a || b: %d\n", a || b); // 1 (true, vì a = 1) printf("b || c: %d\n", b || c); // 1 (true, vì c khác 0) // Logic NOT printf("!a: %d\n", !a); // 0 (false, vì a = 1) printf("!b: %d\n", !b); // 1 (true, vì b = 0) // Kết hợp với toán tử quan hệ if (a > 0 && c < 10) { printf("a > 0 và c < 10 là đúng\n"); // In câu này } return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue