online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> #define MAX_LEN 256 int main(){ char s[MAX_LEN]; int i = 0, r = 3; for(; i < r; ++i){ //scanf("%[^\n]%*c", s); // có %*c scanf("%[^\n]", s); // không có %*c printf("====\nINPUT: %s\n====\n", s); } }

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