makrosebud7435 makrosebud7435
  • 22-08-2019
  • Computers and Technology
contestada

The statement:

int *ptr;

has the same meaning as

A.
int ptr;

B.
*int ptr;

C.
int ptr*;

D.
int* ptr;

Respuesta :

ExieFansler ExieFansler
  • 29-08-2019

Answer:

D. int* ptr;

Explanation:

int *ptr; it is pointer used to hold address of another integer variable.In the options provided we have int ptr that is an integer variable of name ptr.

*int ptr; is wrong this will give error because first we have to write the data type.

int ptr*; is an integer varaible with name ptr*.

int* ptr; is a pointer which can hold the address of another integer varaible.

Answer Link

Otras preguntas

Ruth ann wants to research two different careers, medical doctor and astronaut. what is a good first step ruth ann could take? if she went to a bookstore to res
what is a cell? what are its different parts?
Can you help me I’m struggling?
Given the expression: 3x¹0 - 48x² Part A: Rewrite the expression by factoring out the greatest common factor. (4 points) Part B: Factor the entire expression co
Which of the following ions is formed when the positive hydrogen ions from an acid bond to water molecules? H− OH− H2O+ H3O+
find the measure of the missing angles. d = ? e = ? f = ?
10 areas that most people work in mexico
I don’t know anything
Beth will you help Andy with his algebra? Question Which punctuation mark is missing in the sentence? Answer options with 4 options 1. , 2. ! 3. ' 4. -
Mario invested a certain amount of money in selling a fish balls. After 3 weeks, he counted his money and found out that he had 900 which was 2255 of what he or