With every use of a memory allocation function, what function should be used to release allocated memory which is no longer needed? a.) b.) c.) d.) unalloc() dealloc() release() free()
What will print when the sample code above is executed? a.) b.) c.) d.) y= y= Compiler Error y=
The definition of a above explicitly initializes its first four elements. Which one of the following describes how the compiler treats the remaining four elements? a.) The remaining elements are initialized to zero(0). b.) It is illegal to initialize only a portion of the array. Either the entire array must be initialized, or no part of it may be initialized. c.) As with an enum, the compiler assigns values to the remaining elements by counting up from the last explicitly initialized element. The final four elements will acquire the values 4, 5, 6, and 7, respectively. d.) They are left in an uninitialized state; their values cannot be relied upon.
Which one of the following functions is the correct choice for moving blocks of binary data that are of arbitrary size and position in memory? a.) b.) c.) d.) memcpy() memset() strcpy() memmove()
What value does testarray in the sample code above contain? a.) b.) c.) d.) 5 7 9 11
Which one of the following provides conceptual support for function calls? a.) b.) c.) d.) The system stack The data segment The text segment The heap
What does y in the sample code above equal? a.) -3 b.) 4 c.) 4 + sizeof ( int ) d.) 4 * sizeof ( int )
What will the above sample code produce when executed? a.) 1, 2, 3, 4, 5, 5, b.) 4, 3, 2, 1, 0, 0, c.) 5, 4, 3, 2, 1, 0, d.) 0, 0, 1, 2, 3, 4,
What does the operation shown above produce? a.) 1 b.) 6 c.) 8 d.) 14
Referring to the sample above,...