My program runs rand(), gets it as 16 bit,
eg rand() gives me 12F3
another rand() gives me 564A
so if I do printf("%X%X\n", rand() rand());
I get exactly what I want, 32 bit numbers.
The thing is, I want this in a variable, so I tried to be creative and did:
x = printf("%X%X\n", rand() rand())
but unfortunately didnt work.
So I tried
x = rand()
y = rand()
But C wont accept mixing integer types, now what is my option?
Thanks in advance,