How Many Bytes Should a Numeric Variable Hold for 32-bit or 64-bit O/S in a C-based Application? (Doc ID 1189433.1)

Last updated on JULY 17, 2017

Applies to:

Precompilers - Version: 8.1.7.4 and later    [Release: 8.1.7 and later]
Oracle Server - Enterprise Edition - Version: 8.1.7.4 and later    [Release: 8.1.7 and later]
Information in this document applies to any platform.

Goal

How Many Bytes Should a Numeric Variable Hold for 32-bit or 64-bit O/S in a C-based Application?
Specifically, should an int variable hold 32-bit or 64-bit data?


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms