> i have a variable called "object"
You have two things, and neither of them are objects.



typedef struct object{
int data;
struct object *left;
struct object *right;
}object;