User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

c:keywords:auto [2013/01/22 13:01]
c:keywords:auto [2013/01/22 22:02] (current)
Line 1: Line 1:
 +====== auto ======
 +since C 89
 +The ''auto'' keyword defines a local variable as having a local lifetime. As the local lifetime is the default for local variables it's extremely rarely used.
 +**Note:** GNU C extends the ''auto'' keyword to allow forward declaration of nested functions.
 +=== Syntax ===
 +''[auto] //data-definition;//''

Impressum Datenschutz