Guest User

Untitled

a guest
Feb 20th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. struct _2_bit {
  5.     unsigned int _2er : 2;
  6. };
  7.  
  8. int main(void) {
  9.     struct _2_bit * mein_2bit;
  10.  
  11.     mein_2bit = (struct _2_bit *) malloc(sizeof(struct _2_bit));
  12.     mein_2bit->_2er = 3;
  13.  
  14.     printf("%d\n",mein_2bit->_2er);
  15. }
Add Comment
Please, Sign In to add comment