how does the size of int ,float ,pointer varies according to 32 and 64 bit processors?

can anyone 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.