Is there a way to manipulate the size of an array?

Like this...

void loop() {
  char *a = "hello";
  char b[] = "world";
  Serial.println(a);
  Serial.println(b);
}