The book that i am currently reading states that when you declare a function in c that accepts no arguments, but you do not use the keyword void "the function call can pass any arguments it wants". so i attempted this.
int number();
int main(void)
{
    int x =1;
    printf("%d",number(x));
}
int number()
{
    return x;
}
but it did not compile??? how does this work?
 
     
     
     
     
    