#include <print> #include <string> int main() { std::string s = "abc"; for (char c : s) { std::println("{}", c); } }
range-for over the chars