fork(1) download
  1. #include <iostream>
  2. #include <string>
  3. #include <typeinfo>
  4. using namespace std;
  5.  
  6. int main() {
  7. string s = "Hello, world!";
  8. cout << typeid(" ").name() << endl;
  9. cout << typeid(' ').name() << endl;
  10. cout << typeid(s.at(0)).name() << endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
A2_c
c
c