Skip to main content

Auto storage class

 Auto storage class in c


  • They are declared at the start of a program’s block such as in the curly braces ( { } ).  
  • Memory is allocated automatically upon entry to a block and freed automatically upon exit from the block.
  • Automatic variables may be specified upon declaration to be of storage class auto.  However, it is not required to use the keyword auto because by default, storage class within a block is auto.

Comments

Popular posts from this blog

CAN INTERVIEW QUESTIONS

Qualifiers and Modifier in C

RTOS Real time operating system interview questions

CAN INTERVIEW QUESTIONS 2

What is UDS protocol

Memory mapping in c

TOP IOT PLATFORMS