i am using this code but it is not running. it is not running in Dev C++. it runs then blows up.
#include <iostream>
using namespace std;
struct Node
{
struct Node* left;
int data;
struct Node* right;
};
typedef struct Node *node;
int main()
{
node n;
n->data = 4;
cout << n->data << endl;
return 0;
}