funtion to get parent
| 7 | |
| 8 | // funtion to get parent |
| 9 | int get_parent(int index) |
| 10 | { |
| 11 | if(tree[index]!='\0' && index>1 && index<=complete_node) //root has no parent |
| 12 | return index/2; |
| 13 | return -1; |
| 14 | } |
| 15 | |
| 16 | int get_right_child(int index) |
| 17 | { |
nothing calls this directly
no outgoing calls
no test coverage detected