AFTER INPUT PROGRAM CRUSHES.

PROBLEMS
1.AFTER INPUT IN PHILHEALTH CONTRIBUTION PROGRAM CRUSHES.
2.AFTER INPUT Y or y in delete employee data PROGRAM CRUSHES.
3.AFTER REGISTER EMPLOYEE AND GOING TO VIEW EMPLOYEE PROGRAM CRUSHES.
SAME ERROR A WINDOW WILL POP UP AND IT LIKE THE WINDOWS ERROR.

mvmalderen:Double post of: [http://www.daniweb.com/software-development/c/threads/447368/i-need-some-help-guys..asap-thanks] I don't want to pollute the thread with a post about this, so my comment ends up here.

I didn't read your whole program, but all the scanf() starting on line 33 are wrongscanf("%s",&fname[100]);

That is passing a pointer to the last element of the fname array. It should be passing a pointer to the first element, like this:scanf("%s",fname);

Notice it is not necessary to use the & pointer operator because arrays are always passed as pointers. For an array of any type just use the name of the array and it will get passed as a pointer to the first element of the array. Only for non-arrays such as an int do you use the & pointer operator.