Interview Questions

What are the advantages of auto variables?

C Interview Questions and Answers


(Continued from previous question...)

What are the advantages of auto variables?

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

(Continued on next question...)

Other Interview Questions