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

1. A shopkeeper buys a stove from a manufacturer. The shopkeeper sells the stove for $2700 at a profit of 25%. (a) What is the cost price of the stove to the sh
How has globalization effected China? PLS HELP, I NEED BULLET POINTS, NO LINKS :>
I need with this please! It due tonight.
Which inequality models this problem? The length of a rectangle is three times its width. If the perimeter is at most 112 centimeters, what is the greatest poss
a tube of toothpaste is marked 3.92 for 8 ounces what is the price per ounce
i literally forgot how to do this can someone help​
Help would be much appreciated! :)​
Answer the following questions with complete sentences in Spanish. Note the hints in parentheses.1. ¿Te gusta bailar?2. ¿ Dónde está El libro (under the desk)3.
if u know hisotry and love it this one is for u XD also plz help this question is expensive What was the experience of North Carolina soldiers throughout the w
Find the y-intercept of the line