Write a C program to read N student names to a 2D array of characters std_name. Each student name consists of First Name and Last Name. Modify the 2D array std_nameto hold the first letter of the First name, a space and foll code example
Example 1: c fill 2d array
int disp[2][4] = {
{10, 11, 12, 13},
{14, 15, 16, 17}
};
int disp[2][4] = { 10, 11, 12, 13, 14, 15, 16, 17};
int i, j;
for (i = 0; i < HEIGHT; i++) {
for (j = 0; j < WIDTH; j++) {
disp[i][j] = disp[i][j];
}
}
Example 2: matrix c declaration
int disp[2][4] = { 10, 11, 12, 13, 14, 15, 16, 17};