fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct aj
  5. {
  6. std::string jj;
  7. }*qq;
  8. int main() {
  9. // your code goes here
  10. char * aa;
  11. std::string hh = "sdfsf";
  12. aa = (char*)hh.c_str();
  13. qq->jj = aa;
  14. std::cout<<qq->jj;
  15. return 0;
  16. }
Runtime error #stdin #stdout 0s 4208KB
stdin
Standard input is empty
stdout
Standard output is empty