Unclear quiz question

The following quiz question is unclear in my opinion:


I understand that trying to print a float as an integer is illegal. I wanted to try with the string option because it is also said in the notebook that a string should be printed with printf() using the c_str() converting function. Of course, it is not illegal but it also isn’t correct.

Maybe changing the string option to printf("I just want to say %s", hello.c_str()) would be more constructive.


Hi @GasPatxo,

Thank you very much for your suggestion on improving the question.

I just updated the choices with your suggestion.

If you have any other suggestions, please feel free to let us know.

Keep pushing your ROS Learning.