When compiling my program in Visual Studio Code using the g++ compiler, the output generated has the % sign.
#include <iostream>
int Main() {
  std::cout << "Hello World!";
  return 0;
}
Terminal screenshot:

I have deleted the question mark, so I think there is no control character.
 
     
    