Why this code does not work ?
#include <iostream>
#include <cstdio>
int main() {
printf("%X", 1327644190303473294);
}
I am getting o/p 5f264e8e
but expected o/p is 126cbd5b5f264e8e as given by below php script
<?php
echo dechex(1327644190303473294);
?>
The portable way to do this is to
And to do: