EmbLogic's Blog

disadvantages of global

  1. Too many variables , if declared as global , then they remain in the memory till program execution is over
  2. Unprotected data : Data can be modified by any function

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>