fork download
  1. #include <stdio.h>
  2.  
  3. struct Elenco {
  4. char uno;
  5. short due;
  6. int tre;
  7. };
  8.  
  9. int main (int argc, char *argv[])
  10. {
  11. struct Elenco e;
  12. e = (struct Elenco) { 33, 55, 77 };
  13. printf ("struttura: %i %i %i\n", e.uno, e.due, e.tre);
  14. return 0;
  15. }
Success #stdin #stdout 0.02s 1720KB
stdin
Standard input is empty
stdout
struttura: 33 55 77