0 0 votes Programming in C + – soumya singh 2.1k views answer comment Share Follow Print See 1 comment 1 1 comment reply Arunav Khare commented May 20, 2017 reply Follow flag Local is a scope while Automatic is a storage class. A local variable can have a storage class (static, auto, register). Default storage class, in C language for local variables is auto. So both are same 0 0 replyShare Please log in or register to add a comment.
1 1 vote There is strictly no difference. { auto int a; /* ... */ } and { int a; /* ... */ } are equivalent. The common practice is not to put the auto specifier. pawan kumarln answered May 20, 2017 pawan kumarln comment Share Follow 0 reply Please log in or register to add a comment.