DS from MADEEASY postal book package 2022 page number 12
in Programming
63 views
0 votes
0 votes
void gate(int n){
    printf("*");
    if(n>1){
        gate(n/4);
        gate(n/4);
        gate(n/4);
        gate(n/4);
    }
}

Let X be the number of asterisks printed by the above function when n=1024. Then the value of X will be ____
in Programming
by
5 points
63 views

1 comment

is it 1365?
0
0

Please log in or register to answer this question.

Ask
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.