arrays
This commit is contained in:
parent
d7bb962615
commit
4668601cac
1 changed files with 5 additions and 0 deletions
5
main.c
5
main.c
|
|
@ -71,6 +71,11 @@ int main() {
|
|||
printf("\n\nFUNCTION (MULTIPLY) BELOW:\n"); // DIVIDER
|
||||
printf("%d * %d = %d", 5, 30, multiply(5,30));
|
||||
|
||||
// ARRAY
|
||||
printf("\n\nARRAY BELOW:\n"); // DIVIDER
|
||||
int arr[] = {21, 67, 69, 420};
|
||||
printf("arr[0]=%d\narr[1]=%d\narr[2]=%d\narr[3]=%d", arr[0], arr[1], arr[2], arr[3]);
|
||||
|
||||
// END
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue