fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. string s = "hello";
  7. cout << (int)s[s.size()] << endl;
  8. }
Success #stdin #stdout 0.01s 5432KB
stdin
Standard input is empty
stdout
0