AiyanaNeedHelp6720 AiyanaNeedHelp6720
  • 11-12-2019
  • Computers and Technology
contestada

It is ________ to pass an argument to a function that contains an individual array element, such as numbers[3].
A) illegal in C++
B) legal in C++
C) not recommended by the ANSI committee
D) not good programming practice
E) None of these

Respuesta :

codiepienagoya codiepienagoya
  • 12-12-2019

Answer:

The answer is "option B".

Explanation:

In the C++ programming language, it is legal to pass a parameter in the method that includes an individual array element. where an array is a collection of homogeneous (similar types of) elements. and other options are not correct that can be defined as:

  • In option, a Passing argument in a function is not illegal in c++.
  • In option c, It is recommended by the ANSI committee.
  • In option d, It is good for practice in coding.
Answer Link

Otras preguntas

what does B.O.D.M.A.S. or B.E.D.M.A.S. mean?
Why the mechanical wave need a medium to propagate?
is tamarind a natural indicator? Give reasons.
When do you think that the Silver American Eagle will peak again, like it did in 2011? Do you think it would go back up? And how much do you think it will be wo
8=56 7=42 6=30 5=20 3=? What does 3 equal?
Which inequality represents all values of x for which the product below is defined? √5x ·√x+4 a.x>0 b.x≥0 c.x≤-4 d.x≥-4
when resistors are connecting in a series ,does the position of ammeter make any difference ?
which part of roots is involved in the exchange of respiratory gases
why it is advise to clean the ends of connecting wires before connecting them?
How did Douglass refute the prevailing southern (and northern) perception of slave songs?