could someone please help me trace this code through ?? ive been trying for the whole nite but still cant get the proper trace :( ... thanks !!!!Code:#include <stdio.h>
int count = 0;
void f(int x);
int main()
{
f(2);
printf("%d",count);
return 0;
}
void f(int x)
{
count++;
if (x > 0)
{
f(x/2);
f(x/2);
}
}