Referring to the sample above, what is MAX_NUM? #define MAX_NUM 15
a. MAX_NUM is an integer constant.
b. MAX_NUM is a precompiler constant.
c. MAX_NUM is a linker constant.
d. MAX_NUM is an integer variable.
e. MAX_NUM is a preprocessor macro
You might also like to view...
Which of the following iscreated and issuedby software engineers to remove a system vulnerability?
a. A patch b. A key c. A license d. A constraint
Identify the algorithm used in the following code.
void algo(int arr[], int n){ for (int i = 0; i < n-1; i++) { for (int j = 0; j < n-i-1; j++){ if (arr[j] > arr[j+1]) { int temp = arr[j]; arr[j] = arr[j+1]; arr[j+1] = temp; } } } } a. Bubble sort, O(n^2) b. Insertion sort, O(n^2) c. Merge sort, O(n log n) d. Quick sort, O(n log n)