Difference between revisions of "C Specifics"

esse quam videri
Jump to: navigation, search
(Created page with '==Variables== ===Declaration=== ===Initialization=== ===Allocation=== ===Reallocation=== ===Deallocation===')
 
(Declaration)
Line 1: Line 1:
 
==Variables==
 
==Variables==
 
===Declaration===
 
===Declaration===
 +
Variable declaration in standard C requires 3 simple commands.
 +
*First, tell the computer what ''type'' of variable you would like to store.
 +
*Next, give the variable a ''unique name''.
 +
*Finally, ''end'' your declaration.
 +
 
===Initialization===
 
===Initialization===
 
===Allocation===
 
===Allocation===
 
===Reallocation===
 
===Reallocation===
 
===Deallocation===
 
===Deallocation===

Revision as of 08:12, 21 August 2009

Variables

Declaration

Variable declaration in standard C requires 3 simple commands.

  • First, tell the computer what type of variable you would like to store.
  • Next, give the variable a unique name.
  • Finally, end your declaration.

Initialization

Allocation

Reallocation

Deallocation