A function that modifies an array by using pointer arithmetic such as ++ptr to process every value should have a parameter that is:
a. A nonconstant pointer to nonconstant data.
b. A nonconstant pointer to constant data.
c. A constant pointer to nonconstant data.
d. A constant pointer to constant data.
a. A nonconstant pointer to nonconstant data.
You might also like to view...
Which of the statements below will create the String r1 = "JAVA: How to Program"?
Consider the statements below: ``` String a = "JAVA: "; String b = "How to "; String c = "Program"; ``` a. String r1 = c.concat(b.concat(a)); b. String r1 = a.concat(b.concat(c)); c. String r1 = b.concat(c.concat(a)); d. String r1 = c.concat(c.concat(b));
Three methods of file allocation commonly used are: chained, indexed and _________ .
Fill in the blank(s) with the appropriate word(s).
____ is thrown when an object reference does not correctly refer to a created object.
A. IndexOutOfRangeException B. ArrayTypeMismatchException C. NullReferenceException D. OverflowException
_____ is an example of an online payment service.
A. ?E-portfolio B. ?Fotki C. ?Vonage D. ?PayPal