1#include <stdio.h>
2int main(void)
3{
4int size, i;
5printf("Enter the size of the arrays:\n");
6scanf("%d", &size);
7
8int arr1[size];
9printf("Enter the elements of the array:\n");
10for (i = 0; i < size; i++) {
11 scanf_s("%d", arr1[size]);
12}
13printf("The current array is:\n %d", arr1[i]);
14}
1int a[3][4] = {
2 {0, 1, 2, 3} , /* initializers for row indexed by 0 */
3 {4, 5, 6, 7} , /* initializers for row indexed by 1 */
4 {8, 9, 10, 11} /* initializers for row indexed by 2 */
5};