I'm crashing my code with this fragment hereany ideas why, i'm a little behind the weather this morning.PHP Code:
puts("tell me another name");
int x = strcspn(name2,"\n");
name2[x] = '\0';/*know you can use the ternary operator and make this a compound statement */
printf("Hey Again %s, Look i'm ndxing your ptr to name: name[MAX/2] = %d",name2,name2[MAX/2]);
x and MAX are already declared.