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
sineoko [7]
4 years ago
11

What will the following code print out: int numbers [] = {99, 87, . 66, 55, 101}; for (int i = 1; i < 4; i++) cout << n

umbers [i] << end1;a) 99 87 66 55 101 b) 87 66 55 101 c) 87 66 55 d) Nothing.
Computers and Technology
1 answer:
forsale [732]4 years ago
5 0

Answer:

87 66 55

Explanation:

Array is used o store the multiple values with same data type.

the array show a decimal value .66, i assume this is enter by mistake because option has no decimal value.

The index of the array is start from zero, it means the first element store in the array at position zero.

In the for loop the variable 'i' start from 1 not zero and it goes to i<4 means i=3.

So, it access the element from 2 to 4 because the index is position of element less than 1.

Therefore, 87 66 55 print.

You might be interested in
Ummm, I hate to interrupt your day, but does anyone know where Mitch72 is????? Because he hasn't talked in a week, and he hasn't
Anettt [7]

Answer:

sorry but no

Explanation:

4 0
3 years ago
Describe two ways methods that cab be used to help stop hacking
mojhsa [17]

Answer:

Use a firewall

Install antivirus software.

Explanation:

7 0
2 years ago
Peter’s Father wants to buy a new computer for his office use on word processing tasks. He wants to bring his computer to and fr
8_murik_8 [283]
A good option for Peter's father's computer needs would be a laptop or a notebook.  It is handy so he can bring it to and from the office.  It is also has the specifications needed for his word processing tasks as long as he installs a work processing software.
3 0
3 years ago
Read 2 more answers
Which of the following comments are correct? Select all that apply.
AnnZ [28]

Answer:

1/ hello

Explanation:

7 0
3 years ago
If you wish to sign out of your Microsoft account, tap or click ____ on the ribbon to open the Backstage view and then tap or cl
tatuchka [14]

According to you have to http://windows.microsoft.com/en-PH/windows-8/sign-in-out-of-windows you have to click on the account picture on the upper right hand corner to access the backstage view and you have to tap or click the account tab to view the account gallery and sign out from the account. You may also want to check this link as well: https://support.office.com/en-us/article/Sign-out-of-your-Microsoft-account-268b49c8-398f-4057-8a3f-e376789f273a

<span> </span>

3 0
4 years ago
Other questions:
  • The stack ADT may be implemented with
    13·1 answer
  • Define a void function that calculates the sum (+), difference (-), product (*), quotient (/), and modulus (%) of two integer nu
    14·1 answer
  • Which two options are negotiated via ncp during the establishment of a ppp connection that will use the ipv4 network layer proto
    7·1 answer
  • Are scripted languages easier or more difficult to port than programming languages? Why?
    6·1 answer
  • Explain what is meant by information technology (IT). Explain what is meant by information systems (IS). Why is it important to
    7·1 answer
  • What is the output?
    6·2 answers
  • Suppose you are given a sequence that is described by a formula, starting at index n=0. If you need to change the starting index
    6·1 answer
  • Can i have help for a ggogle class room
    14·1 answer
  • When a file is used by a program, there are three steps that must be taken:
    7·1 answer
  • 2
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!