Sunil wrote:
My query is, where is static variable stored ? in code section, in which
case this should be available to other functions too. On stack ? How is
it managed ?
Is this a homework question?
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies"
able in
> this sense. But it is not exposed to other functions and they can
ACK.
> define local variable of the same name[or for that matter, there can
ACK.
> also be a global variable of the same name, in which case most
> 'nearly defined' variable will be used].
variable in this
> sense. But it is not exposed to other functions and they can define local
> variable of the same name[or for that matter, there can also be a global
> variable of the same name, in which case most 'nearly defined' variable will
> be used].
>
> My query i
the same name[or for that matter, there can also be a global variable of the
same name, in which case most 'nearly defined' variable will be used].
My query is, where is static variable stored ? in code section, in which
case this should be available to other functions too. On stack ?