Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. unsigned long a;
  2. unsigned char *t = ( unsigned char* )&a;
  3. scanf("%hhu.%hhu.%hhu.%hhu", &t[0], &t[1], &t[2], &t[3]);
  4.  
  5. unsigned long a;
  6. unsigned char *t = ( unsigned char* )&a;
  7. scanf("%hhu.%hhu.%hhu.%hhu", &t[3], &t[2], &t[1], &t[0]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement