#include <stdio.h>
is required for using printf()
and scanf()
.#ifndef
) prevent this.int
by using long int
or unsigned int
.malloc()
and calloc()
.Feature | Arrays | Pointers |
---|---|---|
Definition | Collection of similar data types. | Variable storing memory addresses. |
Initialization | At definition. | Cannot initialize directly. |
Size | Fixed. | Dynamic. |
n
.0
s in an integer with 1
.