322 views
0 votes
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 votes
1 votes

ans will be 7.

No related questions found