Identification of chosen keyword.
List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).
Identification of chosen keyword.
Arrays are buckets or memory locations that group similar integers or character strings.
Arrays can be manipulated to hold different values of any datatype as long as that datatype is consistant across the entire array. You can even copy the contents of one array to another!
Example:
#include<stdio.h> int main() { int array [5]; int i; short onethroughfive [5]; array[0] = 45; array[1] = 56; array[2] = 34; array[3] = 42; array[4] = 32; for(i=0; i<5; i++){ *(onethroughfive+i)=*(array+i); } for (i=0; i<5; i++){ printf("%d\n", *(onethroughfive+i)); } return (0); }
List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).