Advertisement
mario_mos

voie

Jul 26th, 2023 (edited)
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3. #include <stdlib.h>
  4. #include <time.h>
  5. #include <string.h>
  6.  
  7.  
  8.  
  9.  
  10. struct{
  11. unsigned a : 8;
  12. unsigned b : 1;
  13. union{
  14. int a;
  15. char b;
  16. }u;
  17.  
  18. };
  19.  
  20.  
  21.  
  22.  
  23. // union avec int car double dans une union
  24.  
  25. int main()
  26. {
  27.  
  28. return 0;
  29. }
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement