MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / createEXTNode

Function createEXTNode

CPP/Trees/Expression_tree/BST.c:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include"Stack.h"
6
7Node* createEXTNode(char data, Node *left, Node *right) {
8 Node *newNode = malloc(sizeof(Node));
9 newNode->data = data;
10 newNode->left = left;
11 newNode->right = right;
12 return newNode;
13}
14
15int is_operator(char data) {
16 switch(data) {

Callers 1

initTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected