#include <stdio.h>
int main()
{
char a[] = "hello people";
char b[] = "hello other people";
char *ar[2];
ar[0] = &(a[0]); //the () are not necessary here
ar[1] = &(b[0]); //but it makes it easier to read
printf("a=%s\n", ar[0]);
printf("b=%s\n", ar[1]);
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpCnsKICAgIGNoYXIgYVtdID0gImhlbGxvIHBlb3BsZSI7CiAgICBjaGFyIGJbXSA9ICJoZWxsbyBvdGhlciBwZW9wbGUiOwoKICAgIGNoYXIgKmFyWzJdOwogICAgYXJbMF0gPSAmKGFbMF0pOyAvL3RoZSAoKSBhcmUgbm90IG5lY2Vzc2FyeSBoZXJlCiAgICBhclsxXSA9ICYoYlswXSk7IC8vYnV0IGl0IG1ha2VzIGl0IGVhc2llciB0byByZWFkCgogICAgcHJpbnRmKCJhPSVzXG4iLCBhclswXSk7CiAgICBwcmludGYoImI9JXNcbiIsIGFyWzFdKTsKfQ==