Examlex

Solved

Consider the Following Function

question 24

Multiple Choice

Consider the following function:
Void reverse char *string1, const char *string2 )
{
Int stringsize = sizeof string1 ) /sizeof char ) ;
* string1 + stringsize -1 ) = '\0';
String1 = string1 + stringsize - 2;
For ; *string2 != '\0'; string1--, string2++ )
*string1 = *string2;
}
What method does the function use to refer to array elements?


Definitions:

Specific Identification Method

An inventory valuation method that tracks the cost of each individual item in inventory.

Consignor

The person or entity that owns goods on consignment and sends them to the consignee for sale or display.

Days' Sales in Inventory

A financial metric that measures the average number of days it takes for a company to sell its entire inventory during a given period.

Consignee

The individual or entity to whom goods are shipped to be sold on behalf of the owner, retaining no legal ownership until sales occur.

Related Questions