24. Consider the following C program:
#include <stdio.h>
int counter = 0;
int calc(int a, int b) {
int c;
counter++;
if (b==3) return (a*a*a);
else { c
= calc (a, b/3);
return (c*c*c);
int main() {
calc(4.81);
printf("%d", counter);
The output of this program is -
Answers
Answered by
0
Answer:
If it was java I would have told you l. Sorry. Hope you get the answer
Similar questions
Hindi,
5 months ago
India Languages,
5 months ago
Accountancy,
5 months ago
English,
10 months ago
Science,
10 months ago
History,
1 year ago