Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. typedef struct{
  2. int aParameter;
  3. int anotherParameter;
  4. }Structure_t;
  5.  
  6. const Structure_t arrayOfStructres[] ={
  7. {
  8. .aParameter = 1,
  9. .anotherParameter = 2
  10. },
  11. {
  12. .aParameter = 3,
  13. .anotherParameter = 4
  14. },
  15. };
  16.  
  17. sizeof(arrayOfStructures)/sizeof(arrayOfStructes[0]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement