online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> int main() { char *str1="String1"; char *str2="String1"; char str3[] = "String1"; if(str1==str2){ printf("Same String\n"); }else{ printf("String not same\n"); } if(str1==str3){ printf("Same String\n"); }else{ printf("String not same\n"); } 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.

  • {user}

      {timestamp}

    {content}

    #FunctionFile:Line
    VariableValue
    ExpressionValue