0_0_35968934_25213.cpp: In function 'int main()': 0_0_35968934_25213.cpp:49:76: error: 'c' was not declared in this scope strcpy(a, s[k].name); strcpy(s[k].name, s[j].name); strcpy(s[j].name, c); ^