DylanF9889 DylanF9889
  • 19-07-2019
  • Computers and Technology
contestada

What is the minimum valid subscript value for array a?
#define MAX 50
int a[MAX], i, j, temp;
A. 0
B. 1
C. Any negative number
D. There is no minimum
E. None of the above

Respuesta :

ExieFansler ExieFansler
  • 30-07-2019

Answer:

The answer to this question is A. 0.

Explanation:

In this segment of code #define MAX 50 is used.It is a pre-processor directive and in pre processor directive it is a MACRO means whenever the compiler encounters the word MAX in the execution it replaces MAX with 50.

So the size of the array becomes 50 and the indexing starts from 0 and upto 49.

Answer Link

Otras preguntas

Is J. Evans male or female? How can you tell? How many chromosomes does J. Evans have?
A game show has a bonus round where a contestant gets to spin a balanced wheel that is divided into eighths. the contestants win cans of turtle wax based on whi
please i fell asleep in class it's some sort of poem
which of these procedures is a disinctive feature of a formal buffet
Match the vocabulary word with its definition. 1. The measure of the distance from one point to another SI system 2. The metric system of units time 3. the
What are some things that the human brain is specialized to do? what is the evidence for sexual selection? what is sexual dimorphism and when is it found?
in the diagram below xy and yz are tangent to o what is the measure of xwz
How do i do this idk how to do
Th sepoy rebellion broke out in response to Britain’s lack of respectful for: A) traditional trading rights B) religious beliefs and traditions of the Sepoys C)
Which of the following identifies ways people can fight obesity with lifestyle changes?