having trouble finding this anywhere, on a 32bit computer, how many bytes does it take to store ; long int, unsigned char,float, double
any help is much appreciated
pjh-10 0 Light Poster
Recommended Answers
Jump to Post— nullptr 167long int - 4 bytes
char/unsigned char - 1 byte
float - 4 bytes
double - 8 bytesThe same for x64.
All 4 Replies
nullptr 167 Occasional Poster
Suzie999 245 Coding Hobbyist
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
vmanes 1,165 Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.