The answer for the program entered is -1,-1,-1.......upto infinite. Because the initial value of 'i' taken in for loop is 0 and you are displaying --i.
So, the answer will be -1,nothing will print for m.
#include<stdio.h>
void display(int m);
int main()
{
int i;
for(i=0;i<10;++i)
{
display(--i);
}
return 0;
}
void display(int m)
{
printf("%d",m);
}