fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(){
  5. string nome = "teste";
  6. cout << nome.back() << endl;
  7. }
  8.  
  9. //https://pt.stackoverflow.com/q/512924/101
Success #stdin #stdout 0s 5668KB
stdin
Standard input is empty
stdout
e