how does the size of int ,float ,pointer varies according to 32 and 64 bit processors?
can anyone explain it clearly?
how does the size of int ,float ,pointer varies according to 32 and 64 bit processors?
can anyone explain it clearly?
This link may give you some preliminary information.
but there is something called data models....explain it clearly
The variable sizes are determined by compiler, not the processor. I think sizeof() is a compile-time function (as opposed to run-time).
The bitness is usually the size of registers in a processor. Generally, the bigger the registers, the faster the processor operates.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.