What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What do nonglobal variables default to a) auto b) register c) static
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
What is the outcome of cout< a) 16 b) 17 c) 16.5
What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero
Evaluate !(1&&1||1&&0) a) Error b) False c) True
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
which of the following is not an secondary constant a) array b) real c) union
an operation between an integer and real always yeilds a) integer result b) real result c) float result
which operator is used for performing an exponential operation a) > b) ^ c) none
the maximum length of a character constant can be a) 2 b) 1 c) 8
the first character in the variable name must be an a) special symbol b) number c) alphabet