Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
struct Student {
char name[20];
int age;
};
int main() {
struct Student students[2] = {{"Alice", 20}, {"Bob", 22}};
int i;
for (i = 0; i < 2; i++)
printf("%s %d\n", students[i].name, students[i].age);
return 0;
}Coding works best on desktop or with an external keyboard.