Normally when i use a function i make a declaration like this
void func();
So i am not passing any arguments to the function. But in some of the tutorials i noticed on the forum have the declaration like this
void func(void);
So till now i never used the void in my function declaration parentheses. But i was interested in knowing what does the compiler do when it comes across the above declaration in which i dont say void. Does it pass some garbage random values or the standard specifies that if a declaration doesnt specify anything it has to be assumed as void.