Sunday, 18 September 2011

function with static variables

static variables can not be reset
values can not change after execution
can not accessible through out the programme

function with global variables

accesible through program.
it generates a unique value after execution
can not assign any values at the time of declaring it or using it

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...