Sanla asked
how can i know that 0xbeef is an interger
You're right, at a first glance
0xbeef looks more like something to eat than like an integer for many people.
Similarly, 0xCAFE looks more like something to drink than like the number 51966.
But you have to know about the other two ways of writing an integer.
Perhaps try this as a primer:
I'm terribly sorry that this output ends in a thirteen.
But hopefully you are not supersticious.
Ah, no, it doesn't end in a thirteen but in a nineteen!!!
Phew!
Yours,
Bu.