Jump to content

C (programming language): Difference between revisions

no edit summary
(Created page with "C is the low-level programming language taught in UMD's CMSC216 class. ==Usage== ==Memory Allocation== There are 3 ways to allocate memory in C * <code>malloc(bytes)</code> A...")
 
No edit summary
Line 2: Line 2:


==Usage==
==Usage==
==Memory Allocation==
===Memory Allocation===
<code>#include <stdlib.h></code><br>
There are 3 ways to allocate memory in C
There are 3 ways to allocate memory in C
* <code>malloc(bytes)</code> Allocated memory is uninitialized.
* <code>malloc(bytes)</code> Allocated memory is uninitialized.