fork(2) download
  1. const char text_1[] = "Text 1";
  2. const char text_2[] = "Text 2";
  3. const char text_3[] = "Text 3";
  4.  
  5. const char* pointer_to_text = text_1;
  6.  
  7. struct {const char**x;int y,z;}Struktur_array[] = {
  8. // Pointer to Text, iwelche_zahlen, nochmehrzahlen
  9. { &pointer_to_text, 123, 456}
  10. };
  11.  
  12. int main(){
  13. puts(*Struktur_array[0].x);
  14. }
Success #stdin #stdout 0s 10320KB
stdin
Standard input is empty
stdout
Text 1