MCPcopy Create free account
hub / github.com/devparthgarg/Data-Structures-and-Algorithms / main

Function main

15. Binary Tree/02 Tree Class/02.cpp:25–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23};
24
25int main()
26{
27 Node* root=new Node(10);
28
29 root->left=new Node(20);
30 root->right=new Node(30);
31
32 root->left->left=new Node(40);
33 root->left->right=new Node(50);
34
35 root->right->left=new Node(60);
36 root->right->right=new Node(70);
37
38 return 0;
39}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected