1int[] array1 = new int[5]; //int array length 5
2String[] array2 = new String[5] //String array length 5
3double[] array3 = new double[5] // Double array length 5
4
1int[] theNumbers = new int[5];
2
3arr[0] = 4;
4arr[1] = 8;
5arr[2] = 15;
6arr[3] = 16;
7arr[4] = 23;
8arr[5] = 42;
1int n,i;
2
3//enter n
4
5int **array = malloc(sizeof(int*)*n);
6
7for(i=0;i<n;i++)
8 array[i] = malloc(sizeof(int)*64);
9
10 /* Do Stuffs*/
11
12
13/* Free Memory */
14for(i=0;i<n;i++)
15 free(array[i]);
16
17free(array);
1var array = [item1, item2, .....];
2/*
3
4 item1 and item2 could be a string (which is
5 a letter written in double or single quotes like this "string" or 'string') or
6 a number (which is just a normal number on the keypad) or a boolean (which is
7 an experssion which either returns to true of false) and the ..... means that
8 the inputs can be infinite.
9
10*/