[ create a new paste ] login | about

Link: http://codepad.org/WYppkzQe    [ raw code | output | fork ]

C, pasted on Apr 19:
struct phanso
{
	int tu; 
	int mau;
};
typedef struct phanso PHANSO;

struct node
{
	int info;
	struct node *pLeft;
	struct node *pRight;
};
typedef struct node NODE;

typedef NODE *TREE;

int demNut(TREE t)
{
	if(t == NULL)
		return 0;
	return (1 + demNut(t->pLeft) + demNut(t->pRight));

}


Output:
1
2
In function `_start':
undefined reference to `main'


Create a new paste based on this one


Comments: