755 views
0 0 votes
void printnum(int a)

{
if(a>1)

{

printnum(a/2);

printnum(a/2);

}

pf("*");

}

how many astreiks for printnum(5)

2 Answers

1 1 vote

ans will be 7.

Position:
Show:

No related questions found