Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsigned long a;
- unsigned char *t = ( unsigned char* )&a;
- scanf("%hhu.%hhu.%hhu.%hhu", &t[0], &t[1], &t[2], &t[3]);
- unsigned long a;
- unsigned char *t = ( unsigned char* )&a;
- scanf("%hhu.%hhu.%hhu.%hhu", &t[3], &t[2], &t[1], &t[0]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement