jadecharles7292 jadecharles7292
  • 17-12-2020
  • Computers and Technology
contestada

What line of code makes the character pointer studentPointer point to the character variable userStudent?char userStudent = 'S';char* studentPointer;

Respuesta :

IfeanyiEze8899 IfeanyiEze8899
  • 18-12-2020

Answer:

char* studentPointer = &userStudent;

Explanation:

Pointers in C are variables used to point to the location of another variable. To declare pointer, the data type must be specified (same as the variable it is pointing to), followed by an asterisk and then the name of the pointer. The reference of the target variable is also assigned to the pointer to allow direct changes from the pointer variable.

Answer Link

Otras preguntas

What is the degree of comparison for the underlined adverb in the sentence? Of all the candidates, Max argued the most convincingly. A comparative B positive C
The prices of tickets for the local rock concert were $16 for Friday night and $28 for Saturday night. The total attendance for the two nights was 1090. If the
Simplify the expression: 7d+12-4d-3
What's 8 divided by 3/5
Wendy bought 3.74 pounds of swiss cheese at $6.29 per pound and 1.34 pounds of provolone cheese at $6.29 per pound. Which expression does NOT show the total cos
Why did the population of deer start to increase in 1905?
What were the strengths and weaknesses of the communist world by the 1970s?
If you were giving an informative speech to a general audience on global positioning systems technology, the most important factor to consider when analyzing yo
how do you simplify this question
What object make up the solar system? what holds the solar system together?