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 incorrect about the following code? Suggest a possible revision of the code to correct the error.
Ad libitum [116K]
This is really cool but no one cares
5 0
3 years ago
Turns on her laptop and gets the error message "OS NOT FOUND." She checks the hard disk for damage or loose cable, but that is n
Serjik [45]
It needs an Operating System like a cable or something that will help it operate look for more and double check
3 0
3 years ago
You open a folder by double-clicking on it with your mouse. True False
allsm [11]
Depends if it's not working the first time then u click it twice but normally you click it once
5 0
3 years ago
Read 2 more answers
The range of an area where users can access the Internet via high frequency radio signals transmitting an Internet signal from a
Alexandra [31]
A) hotspot
Bluetooth is for short distance and pan is Personal area networks (PANs) connect an individual's personal devices
8 0
3 years ago
Read 2 more answers
The tcp/ip ____ layer commonly uses the transmission control protocol (tcp) to maintain an error-free end-to-end connection.
aleksklad [387]
The answer would be the TCP/IP Application Layer.
6 0
3 years ago
Other questions:
  • Design and write an object-oriented program for managing inventory bins in a warehouse. To do this you will use two classes: Inv
    5·1 answer
  • When using vlookup, the _____argument is optional?
    8·1 answer
  • Describe how data center storage applications drive the development of SAN technology.
    8·1 answer
  • Select the correct answer
    11·1 answer
  • Peripeteia is also referred to as __________.
    5·2 answers
  • What will be result of below if statement.
    13·1 answer
  • Match each term in the second column with its correct definition in the first column. Write the letter of the term on the blank
    12·1 answer
  • What are general purpose computer and special purpose computer?​
    10·2 answers
  • What is boot sector virus​
    8·1 answer
  • Which instruction is used to convert an integer value to float and push it onto the fpu stack?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!