Category:C: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) m (→Types) |
Puppydrum64 (talk | contribs) m (→Curly Braces) |
||
Line 41: | Line 41: | ||
The contents of a function, if statement, etc. <b>must</b> be enclosed in curly braces for the code to count as part of that section. |
The contents of a function, if statement, etc. <b>must</b> be enclosed in curly braces for the code to count as part of that section. |
||
<lang C> |
<lang C>{ |
||
//this wouldn't actually compile as none of these variables were declared in this scope. More on that later. |
|||
{ |
|||
if (K == 3) |
if (K == 3) |