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

Method Tree

Trees/delete_nodes_BST.cpp:15–20  ·  view source on GitHub ↗

class constructor called when any object or pointer is created without any parameter.

Source from the content-addressed store, hash-verified

13
14 //class constructor called when any object or pointer is created without any parameter.
15 Tree()
16 {
17 val=0;
18 left=nullptr;
19 right=nullptr;
20 }
21
22 //class constructor called when an object or pointer is called while passing an argument (val).
23 Tree(int val)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected