Hacker News new | ask | show | jobs
by inkyoto 206 days ago
C's «static» and «auto» also come from PL/I. Even though «auto» has never been used in C, it has found its place in C++.

C also had a reserved keyword, «entry», which had never been used before eventually being relinquished from its keyword status when the standardisation of C began.

1 comments

C23 also has reused auto as C++, although type inference is more limited.