What is the problem with this structure?
#include <iostream> #include <string> using namespace std; void Sepchr(char*k); void CntWorlds(char*s); void yearlysalary(float i); struct employee{ char name[20]; char family[20]; int person; int age; float salary; void Sepchr (char *k){ for(int i=0;*(k+i)!='\0';i++) { cout << "*(k+i)"; }} void CntWorlds(char *s){ int j=0; for(int i=0;i<strlen(s);i++) { if(isalpha(s[i])) j++; } cout << "\nj"; } void yearlysalary(float i){ float y; y=i*12; cout << ("\n%f",y); } }; int main(){ struct employee p1; cout << "name:"; cin >> p1.name ; cout << "family:"; cin >> p1.family ; cout << "person:"; cin >> p1.person ; cout <<"age:"; cin >> p1.age ; cout << "salary:"; cin >> p1.salary ; Sepchr(p1.name); CntWorlds(p1.family); yearlysalary(p1.salary); return 0; }