table – How to make a string be "transformed into a number"

I have an exercise for the user to type a word and it is transformed by their corresponding numbers from the ASCII table.
EXAMPLE: -sara- would print 115 97 114 97

it's the code:
NOTE: I've set a fixed value in the vector just for the test.
The result of this generates two problems:

  • at the moment of giving the values ‚Äč‚Äčthat he PULA the first value (type print macaw and no Sara)

  • And he also prints odd numbers like -14

    {
    int i;
    char text[15] ;

    printf ("type a word");
    gets (text);
    fflush (stdin);
    scanf ("% c", text);

    for (i = 0; i + 15)
    {
    printf ("Value of the element% d of the string =% d n", i, text[i])
    }

    getch ();
    }