0_0_14733093_10139.cpp: In function 'int main()': 0_0_14733093_10139.cpp:48:21: error: 'n2' was not declared in this scope for (i=0;i<n2;i++) printf("%s\n",s[i].name); ^