Detailed Instructions: This task is to find the number of 'For' loops present in the given cpp program.
Q: void f(int i,int m);
int sum;
int main()
{
int n,i,m,k;
scanf("%d",&n);
for(i=0;i<n;i++)
{ sum=1;
scanf("%d",&m);
f(2,m);
printf("%d
",sum);

}
}
void f(int i ,int m)
{
int k,s;
s=(int)sqrt(m);
for(k=i;k<=s;k++)
{
if(m%k==0)
{
sum++;
f(k,m/k);
}

}

}
A:
2