Category:C: Difference between revisions
m
→Curly Braces
Puppydrum64 (talk | contribs) m (→Curly Braces) |
Puppydrum64 (talk | contribs) m (→Curly Braces) |
||
Line 29:
===Curly Braces===
C uses curly braces as a separator for sections of code. All curly braces must be "balanced," i.e. every left curly brace must have a right curly brace after it. Most code writing programs will do this for you automatically. The contents of a function <b>must</b> be enclosed in curly braces for the code to count as part of that function.
<lang C>int main()
{
|