A variable 𝑇 is defined as an array of 500 records with each record having:
➢ Name (String of 18 characters)
➢ Date of birth (String of 6 characters and 4 integers)
➢ Sex (a character)
➢ Height (real of 32 bits)
a.) Calculate the number of bytes that will be used to store each record.
b.) What is the space in kilobytes occupied by the variable 𝑇 in the memory?
Comments
Leave a comment