Skip to content

Instantly share code, notes, and snippets.

@kylelk
Created January 19, 2014 04:45
Show Gist options
  • Save kylelk/8500571 to your computer and use it in GitHub Desktop.
Save kylelk/8500571 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
struct IntegerVar {
unsigned char *n1;
unsigned char *n2;
};
int main()
{
uint16_t value = ('A' << 8) | 'B' ;
printf("%x", value);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment