I am certain this has been answered before, but I cannot wrap my head around the answers. I am doing an entry C course and there is a provided header, cs50.h, that has the string type in it. So while I have been using it, I am not quite sure how it works.

My goal is to get the characters at **argv[1][0]** and **argv[1][1]** into a **const char \*variable**. While I know the answer definitely involves pointers and addresses, I have not been able to find the successful combination. I am asking here in hope that someone can show me the right way with my own code so I can learn how to go about it.

**UPDATE** I am trying to get the first two char characters from the second (i.e. first string that isn't the file name) thus, **argv[1][0]** and **argv[1][1]** So the given input will be something like this helloworld and I just want 'h' and 'e'. I do not know how to combine 'h' and 'e' from the argv array into a const char \*variable, which is the requested format I need to pass it to another function.

```
#include <stdio.h>
#include <cs50.h>
#include <string.h>

int main(int argc, string argv[])
{

    string saltget[2] = { &argv[1][0] , &argv[1][1] };
    printf("%s\n", saltget);

}

```