Computer Sciences > GATE 2023 > Programming
Consider the C function foo and the binary tree shown.
When foo is called with a pointer to the root node of the given binary tree, what will it print?
A
11 10 13 3 8 5
B
11 13 3 5 8 10
C
24 50 13 3 8 16
D
24 13 50 16 8 3

Correct : d

Similar Questions

The integer value printed by the ANSI-C program given below is _______.
#970 Fill in the Blanks
The integer value printed by the ANSI-C program given below is _______.
#970 Fill in the Blanks
The integer value printed by the ANSI-C program given below is _______.
#970 Fill in the Blanks

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......