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