program compiles and runs but after sometime it stops working in cpp ,using typedef keyword : <p>i am using this code but it is not running. 
it is not running in Dev C++.
it runs then blows up.   </p>

<pre><code>#include &lt;iostream&gt;
using namespace std;
struct Node
{
    struct Node* left;
    int data;
    struct Node* right;
};
typedef struct Node *node;
int main()
{
    node n;
    n-&gt;data = 4;
    cout &lt;&lt; n-&gt;data &lt;&lt; endl;
    return 0;
}
</code></pre>
