HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by alexforster | Hacker News Reader
Full thread
alexforster
·
There's type inference everywhere!
View on HN
kccqzy
·
Or rather, undeclared types are assumed to be int. Is that what you are talking about?
alexforster
·
The keyword "auto" means int?
_cbsz
·
It means automatic storage duration (i.e., on the stack).
https://stackoverflow.com/questions/2192547/where-is-the-c-a...
cygx
·
'auto' means 'automatic storage duration' and does not carry type information.
Reply on news.ycombinator.com