Showing posts with label Static. Show all posts
Showing posts with label Static. Show all posts

Friday, May 7, 2010

Static variable

Quse. If we have same name static variable in two functions what will happen .
remember static variable goes in Data area .
Answer : Nothing will happen
 
----------------------------------------
OUTPUT:
  val in f1 = 9
  val in f2 = 0