I am trying to clear the first character of my array. The first two methods don't seem to work. The third method seems to but doesn't look like a good idea.
char operand[] = "abc";
//both methods seem to null it out
operand[0] = 0;
memset(operand, 0, 1);
printf("%s", operand);
//seems to work
memset(operand, 5, 1);