I want to find the word size of my processor. I tried using sizeof(void*) but it gives me 32 as the size. I have a 64 bit processor and a 32 bit GNU C compiler.
How can I find out the word size of my processor?
Collapse
X
-
Tags: None
-
word size of processor is not directly available to applications. Intel processor does supports some assembly instructions. you can use it.
http://cboard.cprogramming.com/c-pro...-size-cpu.html
Comment