class constructor called when any object or pointer is created without any parameter.
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected