The output of the following execution of C program is ____.

#include

int Testbook(int);

int main()

{

static int sum = 0;

int j = 0;

for (; j < 12; j++) {

sum = sum + Testbook(j);

}

printf ("%d\n", sum);

}

int Testbook(int t)

{

static int total = 0;

while (t) {

total += t & 1;

t >>= 2;

}

return total;

}

Enter numerical value using the virtual keypad. Round off where necessary.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation