The Storage Class auto

Author Topic: The Storage Class auto  (Read 376 times)

Offline beingchinmayTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 0
  • Posts: 56
  • Karma: 0
  • Gender: Male
  • I am Chinmay
    • Fat Cutter
The Storage Class auto
« on: 09-03-2016, 03:43:26 »
Variables declared within function bodies are by default automatic, making automatic the most common of the four storage classes. An automatic variable is allocated within a block, and its lifetime is limited to the execution of that block. Once the block is exited, the value of such a variable is lost. If a compound statement contains variable declarations, these variables can be used within the scope of the enclosing compound statement. Recall that a compound statement with declarations is a block.


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1797 Views
Last post 04-03-2016, 22:47:29
by abdul ghany
0 Replies
580 Views
Last post 07-20-2012, 01:09:31
by tomjohn
3 Replies
874 Views
Last post 08-25-2016, 03:32:06
by Franburgs
3 Replies
1328 Views
Last post 08-24-2016, 07:01:58
by Franburgs
0 Replies
182 Views
Last post 01-17-2017, 00:44:55
by beingchinmay