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
Travelers should keep their profile information up-to-date. which is not an option for a traveler to update their own profile in
Komok [63]

After logging onto DTS, on the Welcome screen, hover over Traveler Setup and select Update Personal Profile.

<h3>What is Setup?</h3>

Setup is the arrangement of something, or a competition when the winner is already known because the two competitors are not evenly matched. The setup of food and beverages at a party is an illustration of a setup. A setup might involve pairing a strong debater with a weak debater.

Whether we like it or not, US English spellings have a significant influence on a lot of our language today. Therefore, the phrase "setup" is used when discussing the start of computer programs, but in all other contexts, the words "to set up" and "the set-up" are used instead.

Informal. an endeavor or competition that is made purposefully simple. a game or contest where the opponent can be easily defeated without risk or effort.

To learn more about Setup from the given link:

brainly.com/question/25736513

#SPJ4

4 0
2 years ago
By changing the field size for text to the maximum number necessary,
Inessa05 [86]

Answer:

The correct option is;

A. The file will not take up as much space on the database

Explanation:

Changing the field size of a field that does not contain data limits the size of taken up by the data values added to the field. The field size for text field determines the disc space that each value of the field allowed to take up by Access

When the field size is changed for fields containing data, the data values in the field that have values higher than the maximum field size are truncated while the field size of subsequent data are limited as stated above.

8 0
3 years ago
Cisco has created a proprietary layer 2 protocol used to manage VLAN configuration between switches called:________a. VLAN Confi
Reil [10]

Answer:

The correct answer is letter "E": None of the above.

Explanation:

The VLAN Trunking Protocol (<em>VTP</em>) provides an easy way of keeping an accurate VLAN configuration through a commuted network. The VTP allows solutions of commuted network easily scalable to other dimensions, reducing the need of manually setting up the red. The VTP composed of a layer 2 protocol used to manage VLAN setups between switches.

7 0
3 years ago
Which common online presentation medium do people use to present their own articles?
Nutka1998 [239]
A: news portal hope this helps
7 0
2 years ago
Read 2 more answers
A program that will read each player’s name and golf score as keyboard input,
PtichkaEL [24]
Use for loop and question inside it
7 0
3 years ago
Other questions:
  • What's the best option if you can't show your PowerPoint presentation at all? A. Create PDF/XPS Document B. Prepare a Package Pr
    11·2 answers
  • A function may return a pointer, but the programmer must ensure that the pointer:
    14·1 answer
  • What port in your computer will you use to plug in your camera?
    14·2 answers
  • Write a program that asks for the names of three runners and the time, in minutes (no seconds, etc.), it took each of them to fi
    7·1 answer
  • What is the most effective way to demonstrate being prepared for an interview?
    13·1 answer
  • Which of the following is one of the first steps in implementing a comprehensive security program? Setting up a Guest account Cr
    14·1 answer
  • Fill in the blanks : To store 3 character a computer occupies...................bytes memory space​
    8·2 answers
  • Which of these is NOT an input device?
    14·1 answer
  • Cultural differences may make it difficult for team members to _____. Select 4 options.
    14·1 answer
  • Which one of these are a valid IPv4 address?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!