Consider the declarationsint nums[100];int *nPtr;The statement ____ produces the same result as nPtr = nums;.
A. nPtr = &nums[0];
B. nPtr = nums[0];
C. nPtr = *nums[0];
D. nPtr = &nums;
Answer: A
Computer Science & Information Technology
You might also like to view...
What are the disadvantages of converting a color image to black-and-white by converting it from RGB to Grayscale mode?
What will be an ideal response?
Computer Science & Information Technology
_______ can be used to assign an object of a class to another object of the same class.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
Discuss restarting a path and its inherent trickiness.
What will be an ideal response?
Computer Science & Information Technology
When you create a form in Design view, the ________ are NOT automatically grouped in a stacked or tabular layout
A) controls B) groupings C) properties D) stacks
Computer Science & Information Technology