Guest User

Untitled

a guest
Dec 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. struct mystruct { int enabled:1; };
  4. int main()
  5. {
  6. struct mystruct s;
  7. s.enabled = 1;
  8. if(s.enabled == 1)
  9. printf("Is enabledn");
  10. else
  11. printf("Is disabledn");
  12. }
Add Comment
Please, Sign In to add comment