@abv : question sayss..
(apart from that static variables will be limited to that file only and
global variables will be visible for other files also.)

On Sat, Feb 25, 2012 at 10:44 PM, rajat ahuja <catch.rajatah...@gmail.com>wrote:

> Scope might be diferent if u define static in function . it will be
> intilaized once when u call it first time but scope of that variable will
> be limited to that function only but they live throught out the programe
> though scope is limited
> in case of global it can be used in ny function
>
>
> On Sat, Feb 25, 2012 at 10:35 PM, Akanksha . <akanksha...@gmail.com>wrote:
>
>> Global variable are accessible from other file as well but static global
>> variables are only accessible in that particular file.
>>
>>
>> On Sat, Feb 25, 2012 at 10:21 PM, AMAN AGARWAL <mnnit.a...@gmail.com>wrote:
>>
>>> Hi ,
>>>
>>> Is there any difference b/w static global variables and global variables
>>> ???
>>>
>>> (apart from that static variables will be limited to that file only and
>>> global variables will be visible for other files also.)
>>>
>>>
>>> Regards,
>>> Aman.
>>>
>>> --
>>> AMAN AGARWAL
>>> "Success is not final, Failure is not fatal: It is the courage to
>>> continue that counts!"
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Algorithm Geeks" group.
>>> To post to this group, send email to algogeeks@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> algogeeks+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algogeeks@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to