Answered Questions

  • What are the advantages of auto variables?

    1)The same auto variable name can be used in different blocks2)There is no side effect by changing the values in the blocks3)The memory is economically used 4)Auto variables have inherent protection because of local scope

    vinod

    • Feb 22nd, 2007

    Auto variable have initial value as garbage.auto int and int are  one and the same.