You are calling functions from within your switch cases. These require passing existing and type matching parameters.
Examples:
float s = 1.0f;
node head;
head.info = 0;
head.left = NULL;
head.right = NULL;
tree root = &head;
build(&head, s);
inorder(root);