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

calculate the molar mass of Zn(C2H3O2)2
Directions: Type the correct answer in each box. Use numerals instead of words. If necessary, use / for the fraction bar(s). Completely factor the following e
How do you add 0.89+0.657?
Choose the correctly spelled word. aufull awful
Which group of organisms in the carbon cycle converts carbon into a form that is available to primary consumers?
How were Incan and Aztec religious practices similar? How were they different?
Mr. Smith saved $15 by buying a tool at a 10% discount. What was the original price for this tool? Please show work.
Why Did Feudalism Develop In Japan?
Which describes the importance of the Magna Carta? A. It promised colonists the right to rule themselves. B. It made the colonies an independent nation.
Which is not an accurate statement about America's decision to go to war in 1812? A. Young leaders in the South and West wanted to go to war to protect America