Afficher un message
Vieux 21/10/2007, 14h49   #5
Richard
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Function call before main.

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?
  Réponse avec citation
 
Page generated in 0,04426 seconds with 9 queries