adplus-dvertising
frame-decoration

Question

You have declared an integer pointer called point You have also declared an integer called number. Which statement is the correct format?

a.

point = number;

b.

point = *number;

c.

point = &number;

d.

point = +number;

Answer: (c).point = &number;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. You have declared an integer pointer called point You have also declared an integer called number. Which statement is the correct format?

Similar Questions

Discover Related MCQs

Q. Which of the following will increase the value stored in the first element of the fee array by 2?

Q. Element doubleArray[7] is which element of the array?

Q. You have assigned the address of Value to the pointer P, Which statement will display the value stored in Value?

Q. Which of the following statements will create and initialize a feelnfo array named fee?

Q. One way in which a structure differs from an array is that

Q. Variables that hold memory addresses are called _____

Q. The element of an array is

Q. Assume that a program includes the short *agePtr = NULL; statement. The name of the pointer is _____

Q. A pointer to void can hold pointers to

Q. When a multidimensional array is accessed, each array index is

Q. You indicate a variable is a pointer variable by placing a(n) _____ in front of the variable's name

Q. Which of the following statements declares a one-dimensional Character array named item that consists of five elements?

Q. Assume that a program creates and initializes a Short Integer variable named age and a pointer named agePtr, to which it assigns the address of the age variable. Which of the following statements will assign the number 21 to the age variable?

Q. The statement fwrite ( (char*)&objl, sizeof(objl) );

Q. Which of the following statement is correct?

Q. Which of the following statements is correct?
1. Once a reference variable has been defined to refer to a particular variable it can refer to any other variable.
2. A reference is not a constant pointer.

Q. Functions can be declared to return a reference type. There are reasons to make such a declaration/Which of the following reasons are correct?
1. The information being returned is a large enough object that returning a reference is more efficient than returning a copy.
2. The type of the function must be a R-value.

Q. Which of the following statements is correct?
1. Change a reference changes the referent.
2. We can create an array of references.

Q. Which of the following statement is correct about the references?

Q. A reference is declared using the _____ symbol.