online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> #include <stdlib.h> typedef struct _node { char data; struct _node *link; }node; int main (){ node *head1 = NULL; node *head2 = NULL; head1 = (node *)malloc (sizeof (node)); head2 = (node *)malloc (sizeof (node)); head1 -> data = 'K'; head1 -> link = head2; head2 -> data = "a"; printf("%c%c", head1->data, head2->data); 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