31 views
Problem : I am very new to programming. I have recently started learning C programming. Please find below the one way of initializing the array: I have one doubt about my above program : Which of the following is not a correct way to initialize an array? int n[ 5 ] = { 0, 7, 0, 3, 8, 2 }; int m[3] = ... [1] 15}; printf("m[0] = %d m[1] = %d m[2] = %d\n", m[0], m[1], m[2]); return 0; }
asked
Apr 27, 2020
stewart
4k points