In addition to the difference in scope, the standard requires that
static variables be initialized to zero by default. Global variables
are not required to be initialized by default.
Don

On Feb 25, 10:51 am, 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.

Reply via email to