Richard wrote:
> santosh <santosh.k83@gmail.com> writes:
>
>> Srinu wrote:
>>
>>> Hi all,
>>>
>>> Can we assign return value of a function to a global variable? As we
>>> know, main() will be the first function to be executed. but if the
>>> above is true, then we have a function call before main. Please
>>> me calarifying this. The code may be of the form.
>>>
>>> int f();
>> To state explicitly that the function takes no parameters use the `void`
>> keyword.
>
> What does "f()" state?
Do you truly not know? I thought you'd been on this
newsgroup long enough to have seen this mentioned half a
dozen times, but perhaps that's a different "Richard."
It states that the function f takes some fixed number
of arguments, but does not state what that number is nor
what the types of the arguments are.
--
Eric Sosman
esosman@ieee-dot-org.invalid