Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#include <stdio.h>
int main() {
int a = 'abcd';
int b = ((('a')<<24) | (('b')<<16) | (('c')<<8) | ('d'));
printf("%d == %d\n", a, b);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.