• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 481
  • Last Modified:

An INT datatype is 4 bytes.... Is that 4bytes per entry...

An INT datatype is 4 bytes.... Is that 4bytes per entry...

Example 10 INT entries =  10 bytes?
0
Mr_Shaw
Asked:
Mr_Shaw
4 Solutions
 
Pratima PharandeCommented:
yes
10 INT entries =  40 bytes
0
 
LowfatspreadCommented:
yes basically (plus any additional overhead)

so 10 integer columns  = 40 bytes (minimum)
0
 
CluskittCommented:
Basically, when you say that a variable is x bytes, it means that, when you declare that variable, x bytes of RAM (or filepage, but to simplify, assume RAM) are reserved for exclusive use of that variable.
0
 
Pratima PharandeCommented:
0
 
Mr_ShawAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now