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
kvv77 [185]
3 years ago
5

In C, developers may access arrays via bracketed syntax like Java or by using * dereferencing notation. The following assignment

statements use * notation. Provide the equivalent line of code using square bracket notation:
(a) (2 points) *racer = 22;
(b) (2 points) *(*(img) +1)) = 89;
(c) (2 points) *(*(img+15)+2)) = 64;
(d) (2 points) *(**(rgb_img+5)+1) = 320;
Computers and Technology
1 answer:
Vadim26 [7]3 years ago
6 0

Answer:

See explaination

Explanation:

Square bracket notation is useful when working with objects.

When working with bracket notation, make sure the property identifiers is a String. They can include any characters, including spaces. Variables may also be used as long as the variable resolves to a String.

Below is a representation of the bracket for the question;

a)

racer[0] = 22;

b)

img[1][0] = 89;

c)

img[15][2] = 64;

d)

rgb_img[5][0][1] = 320;

You might be interested in
What is the role of the osi application layer? provides control of all the data flowing between the source and destination devic
Luba_88 [7]
On the general Host we operate with different applications
web browser, Telnet, FTP, email client (SMTP)

Protocols: HTTP, FTP, TFTP, Telnet, SNMP, DNS

PDU : Data
8 0
3 years ago
Classify the following as cross-section or time-series data: Gross sales of 200 ice cream parlors in July 2009
faust18 [17]

Answer:

let us start by stating the definitions of Time series data and Cross sectional data. TIME SERIES DATA: The data which is collected chronologically over time is known as time series data.

Explanation:

Btw brainliest me plss

6 0
2 years ago
Mobile devices typically come pre installed with standard apps like web browsers , media players, and mapping programs true or f
Step2247 [10]
This is true. New devices usually come with "stock" apps for the users convenience or to promote their own apps.
6 0
3 years ago
Explain why the control bus is not a bus.
slava [35]
Cause a control bus is a computer bus and controlled by a computer while a bus is controlled by a driver
3 0
3 years ago
Who is famous for his three laws of robotics?
Anettt [7]

Answer:

The Correct answer is Isaac Asimov

Explanation:

Science fiction already envisioned this problem and has suggested various potential solutions. They were designed to prevent robots harming humans.

4 0
2 years ago
Other questions:
  • _____ is a valuable tool that enables you to find information on the web by specifying words or phrases know as keywords- which
    14·1 answer
  • Using the _____ model brings sellers and buyers together on the web and collects commissions on transactions between these parti
    5·1 answer
  • Pressing the e key while in edit mode will exit the interaction mode<br><br> true<br><br> false
    7·1 answer
  • How many generations of computer languages have there been since the middle of the 20th century?
    10·1 answer
  • What is the basic difference between a printer and a plotter?​
    12·1 answer
  • 1. ___________ ensures the integrity and security of data that are passing over a network.
    13·1 answer
  • Which of the following JavaScript expressions is equivalent to the given HTML code? ​ a. Document.getelementbyId("menu1").menu=
    6·1 answer
  • What are candid shots? what are posed shots?
    13·1 answer
  • I need le help, darn ijourneys
    10·2 answers
  • Write a couple of paragraphs about the usefulness of computer​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!