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 PostOf course, on any given system (OS + compiler) on which you work, you can check the size of each data type with the sizeof( ) operator.
cout << sizeof( int ); //repeat for each type you're interested in.
The sizes that were given above are …
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.