Originally Posted by
jimblumberg
Look at your function closely. Do you ever use the value you passed into your function?
what is meaning of this > Do you ever use the value you passed into your function?
if possible can you give example
I wrote this program for understanding calling function
Code:
#include<stdio.h>
void loop (void)
{
unsigned int count;
for (count = 0; count < 10; count++)
{
printf("Number : %d \n", count);
}
}
int main(void)
{
loop();
return 0;
}
Number : 0
Number : 1
Number : 2
Number : 3
Number : 4
Number : 5
Number : 6
Number : 7
Number : 8
Number : 9