fork download
  1. #include <iostream>
  2.  
  3. char **get_arr()
  4. {
  5. static char *ttrs[19];
  6. ttrs[0] = "#...#...#...#...";
  7. ttrs[1] = "####............";
  8. return ttrs;
  9. }
  10.  
  11. int main()
  12. {
  13. char **arrayOfChar = get_arr();
  14. std::cout << arrayOfChar[1];
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 4300KB
stdin
Standard input is empty
stdout
####............