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
Lynna [10]
3 years ago
11

Comment on the following 2 arrays. int *a1[8]; int *(a2[8]); a1 is pointer to an array; a2 is array of pointers a1 is pointer to

an array; a2 is pointer to an array a1 is array of pointers; a2 is pointer to an array a1 is array of pointers; a2 is array of pointers
Computers and Technology
1 answer:
Hitman42 [59]3 years ago
5 0

Answer:

The answer is "a1 and a2 is an array of pointers".

Explanation:

In this question, A collection of pointers refers to an array of elements where each pointer array element points to a data array element. In the above-given statement, the two-pointer type array "a1 and a2" is declared that holds the same size "8" elements in the array, and each element points towards the array's first element of the array, therefore, both a1 and a2 are pointer arrays.

You might be interested in
If you see an advertisement for a 3TB portable drive, this is most likely a reference to the device having a capacity of three _
s2008m [1.1K]
Terabytes






---------------------------------
4 0
3 years ago
What is etiquette? A. When a variety of differing cultures are combined in one place B. The limitations to the rights and opport
Karo-lina-s [1.5K]
The correct answer should be D. A set of standards for proper behavior in a particular culture.

8 0
4 years ago
Please help me<br>... <br>.... ​
Lina20 [59]

Answer:

formal information searches

Explanation:

3 0
3 years ago
Read 2 more answers
A mouse is known as a _____ device that is able to detect motion in relation to the surface and provides an onscreen pointer rep
hichkok12 [17]
I think the answer is C because u can control the computer with a mouse to point at stuff on screen and also click on things with it its the main device u use besides key pad but without mouse u cant really do anything so i would pick C
3 0
3 years ago
Drag each statement to the correct location.
VMariaS [17]

Answer:

(a)\ 222_{10} = DE_{16} --- True

(b)\ D7_{16} = 11010011_2 --- False

(c)\ 13_{16} = 19_{10} --- True

Explanation:

Required

Determine if the statements are true or not.

(a)\ 222_{10} = DE_{16}

To do this, we convert DE from base 16 to base 10 using product rule.

So, we have:

DE_{16} = D * 16^1 + E * 16^0

In hexadecimal.

D =13 \\E = 14

So, we have:

DE_{16} = 13 * 16^1 + 14 * 16^0

DE_{16} = 222_{10}

Hence:

(a) is true

(b)\ D7_{16} = 11010011_2

First, convert D7 to base 10 using product rule

D7_{16} = D * 16^1 + 7 * 16^0

D = 13

So, we have:

D7_{16} = 13 * 16^1 + 7 * 16^0

D7_{16} = 215_{10}

Next convert 215 to base 2, using division rule

215 / 2 = 107 R 1

107/2 =53 R 1

53/2 =26 R1

26/2 = 13 R 0

13/2 = 6 R 1

6/2 = 3 R 0

3/2 = 1 R 1

1/2 = 0 R1

Write the remainders from bottom to top.

D7_{16} = 11010111_2

<em>Hence (b) is false</em>

(c)\ 13_{16} = 19_{10}

Convert 13 to base 10 using product rule

13_{16} = 1 * 16^1 + 3 * 16^0

13_{16} = 19

Hence; (c) is true

7 0
3 years ago
Other questions:
  • According to your textbook, the three major criteria against which to test documents that you locate on the Internet are authors
    8·1 answer
  • Question 3 / 5
    9·1 answer
  • Write a program that asks the user for three names, then prints the names in reverse order.
    5·1 answer
  • What is the different between a computer and a phone?​
    15·1 answer
  • Which is a good guideline to follow for adding animation to a presentation?
    12·1 answer
  • HI PLZ HELP 11 POINTS!!!
    12·2 answers
  • Use the table and the drop-down menus to order the
    15·2 answers
  • Please help with my Python code - Functions
    6·1 answer
  • Transitive spread refers to the effect of the original things transmitted to the associate things through the material, energy o
    6·1 answer
  • Sample program for Do While loop<br><br> Qbasic
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!