I wrote my own program to understand the basic of function calling and passing parameters
I think loop run 10 times in function but if I pass value 6 in main function then it will run only 6 timesCode:#include<stdio.h>void loop (unsigned int i)
{
for (i = 0; i < 10; i++)
{
}
}
int main(void)
{
loop (6);
return 0;
}