fork download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3.  
  4. struct bt_addr_le_t;
  5. struct element;
  6.  
  7. typedef struct bt_le_adv_config_str
  8. {
  9. uint32_t options;
  10. uint32_t interval_min;
  11. uint32_t interval_max;
  12. //bt_addr_le_t *directed_addr;
  13. }
  14. bt_le_adv_config_t;
  15.  
  16. typedef struct {
  17. int value;
  18. struct element *next;
  19. struct bt_addr_le_t* addr;
  20. } element;
  21.  
  22. typedef struct {
  23. char type;
  24. char a;
  25. } bt_addr_le_t;
  26.  
  27. int main(void) {
  28. element e1, e2;
  29. e1.value = 123;
  30. e2.next=&e1;
  31. // your code goes here
  32. return 0;
  33. }
  34.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
Standard output is empty