Below code will give what result for f(3)
f(int x)
{
If(x
Return;
f(x-1);
printf(“%d”, x);
f(n-1);
}
execute the code with recursion tree and then use backtracking.
What will come in place of question mark (?) in the expression B + C @ D &E ? F, if it indicates D is father-in-law of F?
R is related to D in the same way as U is related to B based on the given arrangement. Which of the following is S related to, following the same pattern?
How many persons in the given arrangement face the centre?
Seven girls A, B, C, D, E, F and G sit in a row facing towards the north (not necessarily in the same order). D sits fifth to the right of A. D does not...
How many persons sit in the row?
How many persons are sitting between Sandeep and Swati in the anti- clockwise direction of Swati?
A, B, C, E, D, F are sitting in a row facing towards West. E is not at the right end. B is just right of C but left of F. only D is between A and C. Who...
If Jaspreet is an immediate neighbor of Jasbir then who among the following likes Black?
What is the position of Q with respect to W?
Six friends (J, K, L, M, N and O) are sitting around a circular table facing the centre. J sits second to the right of O. L sits third to the right of ...