Select the correct option to test your answer:
More Computer Questions
Which among the following is wrong for "register int a;"?
A file that includes an index directory to facilitate random access is
. . . . . . . . typically compresses files to within 10% to 15% of the best available techniques.
What will be the time complexity of the following code? #include <stdio.h> #include <math.h> void PowerSet(char *set, int set_size) { unsigned int pow_size = pow(2, set_size); int count, j; for(count = 0; count < pow_size; count++) { for(j = 0; j < set_size; j++) { if(count & (1<<j)) printf("%c", set[j]); } printf(","); } } int main() { char strset[] = {'a','b','c'}; PowerSet(strset, 3); return 0; }
What will be the output of the given Java code? import java.util.Arrays; public class SortExample { public static void main(String[] args) { int[] arr = {10,7,9,5,8,4}; Arrays.sort(arr, 1, 3); System.out.printf(Arrays.toString(arr)); } }