octal and strings

hi
i have a peculiar problem...i have a number of stirngs separated by a '/0'. it looks somethings like:

char test[]="abk\0jsdhj\01234\0"

actually i will be reading this from a file or something...
im supposed to change the \0 to a ','
but in C the octal representation starts with a '\'...
therefore the compiler treats \012 as decimal 10...
any suggestions how to force the compiler to treat \012 as characters?

when interpreting '\0' the string would be terminated thereitself,
hence nullify the effect of '\0' as '\\0' in the string as below

char test[30]="abk\\0jsdhj\\01234\\0";

then try the following code,

# include<stdio.h>

int main()
{
  int i;
  int j;
  char replacestr[30];
  char test[30]="abk\\0jsdhj\\01234\\0";

  for( i=0, j=0; test[j] != '\0'; )
  {
     if( test[j] == '\\')
     {
        if( test[++j] == '0' )
        {
           replacestr[i++]='a';
           j++;
        }
        else
        {
           replacestr[i++]=test[j++];
        }
     }
     else
     {
        replacestr[i++]=test[j++];
     }
  }
  replacestr='\0';
  fprintf(stderr, "Replaced String is %s\n", replacestr);
  return 0;
}