Parsing GET Variables

Ok, so now it makes more sense for me, think i understood something. Thank you for the help.

So, in my example GET / mode=blink&rate=30&color=yellow
there is a need after parsing the first name and valu to know the second and maybe the third in some situations.

But when

   char *name = strtok(NULL, "="); // Get the first name. Use NULL as first argument to keep parsing same string
   while(name)
   {
      char *valu = strtok(NULL, "&");
      if(valu)
      {
         // Do something with name and valu
         name = strtok(NULL, "="); // Get the next name
      }
   }
}

then name is after the second strtok the second name and that so i need to save the first.
Maybe to count name1 name2 with something like i++?
Or is there an possibility to parse it into an array? ( Like in php when you make an database query and you have $valuname[content1, content2] at the end)