online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Online C Compiler. Code, Compile, Run and Debug C program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> int main() { char pulsetrain[] = "110011000110011001100011001100110011001100110011001100110011001100101100110001101010011000101010110100110011001101010011001010101101001010101011010010101011001101001010101101001011001010101010101010101010101010101010101010110101010100011001010101011001101001100110011001101001011000"; for(int i=0; i<sizeof(pulsetrain); i+=2) { if(pulsetrain[i] == '0') { if(pulsetrain[i+1] == '0') printf("0"); else if(pulsetrain[i+1] == '1') printf("1"); } else if(pulsetrain[i] == '1') { if(pulsetrain[i+1] == '0') printf("0"); else if(pulsetrain[i+1] == '1') printf("1"); } } 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