#include <iostream>
#include <cstring>
int main()
{
char largechars[] = "q=test&use=bingo";
char* chars_array = strtok(largechars, "&");
while(chars_array)
{
std::cout << chars_array << '\n';
chars_array = strtok(NULL, "&");
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0cmluZz4KaW50IG1haW4oKQp7CiAgICBjaGFyIGxhcmdlY2hhcnNbXSA9ICJxPXRlc3QmdXNlPWJpbmdvIjsKICAgIGNoYXIqIGNoYXJzX2FycmF5ID0gc3RydG9rKGxhcmdlY2hhcnMsICImIik7CiAgICB3aGlsZShjaGFyc19hcnJheSkKICAgIHsKICAgICAgICBzdGQ6OmNvdXQgPDwgY2hhcnNfYXJyYXkgPDwgJ1xuJzsKICAgICAgICBjaGFyc19hcnJheSA9IHN0cnRvayhOVUxMLCAiJiIpOwogICAgfQp9