[Solved] initialization of char [] and working with it. I don’t want to use “string” [duplicate]


OK if you want to fill your char with ‘b’ character you CAN do it this way

  char d[7];
  int i;
  for (i = 0; i < 7; i++) {
      d[i] = 'b';
  }

solved initialization of char [] and working with it. I don’t want to use “string” [duplicate]