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

) A store is having a 30% off sale. Michelle uses the expression 0.7p and Stuart uses the expression p-0.3p. Who is using the correct expression?
How might a limited point of view in a story increase its impact on the reader? (A) by helping the reader see through the main character’s eyes (B) by revealing
Picture above. What is the simplified expression above? 50 points! Disclaimer: no silly answers, or get reported.
What is an example of distributive property
Corporate taxes are a type of A,) income tax. B.) property tax. C.) sales tax. D.) excise tax.
QUICK! 10 POINTS BRAINLIEST FOR WHOEVER IS CORRECT!! Dionna road her skateboard at a speed of 10 mph. Which statement is correct? If she covered 2.5 miles, s
PLEASE HELPPPPP!!!!!
IN YOUR OWN WORDS what do Covenants have to do with Salvation History?
Find the value of X
have a awesome christmas enjoy the points u will get more I'm going to mark brainliest for the best joke and u will get extra points have a merry christmas