1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dmitriy789 [7]
3 years ago
9

When is padding required for a structure type variable? Group of answer choices When the structure contains a word-type variable

, such as integer, float, and pointer, and the total number of bytes is not a multiple of four. As long as the structure contains a word-type variable, such as integer, float, and pointer. When the structure contains character type of variables. As long as the size of the structure is not a multiple of four.
Computers and Technology
1 answer:
yarga [219]3 years ago
6 0

Answer:When the structure contains a word-type variable, such as integer, float, and pointer, and the total number of bytes is not a multiple of four ---A

Explanation:Structure padding is the assigning of members of a structure to appear at the correct byte boundary. To achieve this, padding is added by a complier so that structure members can appear in thier correct location, taking into consideration also the size of the structure which must be arranged orderly to the memory so that the padding can reoccur at the end of the structure.

For example--

For a structured type variable, padding is required when the structure contains a word-type variable, such as integer, float, and pointer, and the total number of bytes ie depending on the type of byte fed into the memory for the specific purpose.

You might be interested in
What is it called when someone attempts to befriend you online for the purpose of stealing confidential or sensitive information
Law Incorporation [45]
When someone online attempts to befriend you for the soul purpose of stealing confidential or sensitive information it is called social engineering
5 0
4 years ago
Computer __ is any part of the computer that can be seen and touched​
iogann1982 [59]
Hardware
Answer. physical parts of computer which can be seen and touched are called Hardware.
3 0
3 years ago
A file named "games.txt" exists and has 80 lines of data. You open the file with the following line of code.
kirill115 [55]

Answer:

2 lines

Explanation:

The "w" flag will overwrite any content, so the existing 80 lines are lost.

Then, if you write two lines, there are two lines in the file.

You could argue that the final newline character causes a third line to be present, but logically, there are two lines.

3 0
3 years ago
Read 2 more answers
Which of the following is not a metamorphic agent?
omeli [17]
The answer is easy. The three metamorphic agents are (Heat, pressure, and chemically active fluids). So the answer would be lithification.
3 0
3 years ago
Read 2 more answers
Which of the following values is an example of a floating point number?
Lunna [17]
A.19.67 is a floating point number
6 0
4 years ago
Other questions:
  • What happens when a Boolean expression is evaluated?
    7·1 answer
  • Side mirror using convex mirror or concave mirror?​
    5·2 answers
  • When you use the Bing Image Search for online pictures, you will be searching the Internet for pictures that have been filtered
    13·2 answers
  • List the five human relations skills
    12·1 answer
  • Can anyone help with this graded assignment for computer fundamentals
    10·1 answer
  • Six external parts of a computer system
    13·1 answer
  • Every telecommunication setup uses two devices: one device to transmit data and one device to receive data. Which device transmi
    15·1 answer
  • I need help with computer science<br> the quiz on e2020 is on hackers and unauthorized access
    15·2 answers
  • You text file begins with the following rows. The pattern is a description of the item to be repaired, its color, and the issue.
    14·1 answer
  • The capacity of your hand drive is measured in​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!