char strarr[5][10];
when I use
strcpy(strarr[0], src);
try to copy contents from src to strarr[0] .I got seg fault.
Is this wrong?
Thanks!
See Question&Answers more detail:oschar strarr[5][10];
when I use
strcpy(strarr[0], src);
try to copy contents from src to strarr[0] .I got seg fault.
Is this wrong?
Thanks!
See Question&Answers more detail:os