Studying C in school and have just a couple questions that I have seemingly answered with the compiler but have not been able to find in any books..
1.) Is there any difference between a funtion with no parameters that does not include anything between the parenthesis and one that only includes the data type void? In other words, any difference between "int main ()" and "int main (void)"? I've experimented with both and observed no difference.
2.) Is there any difference between an integer main function that returns 0 and a void main function? I noticed that most reputable C books teach the reader to declare main as an integer returning function but many tutorials also just use void ("void main (void) and void main()"). Likewise, I've experimented with this in the compiler as well and observed no difference.