Home / MCQ Bank / Computer
Computer Arrays And Strings In C Plus Plus Difficulty: Medium

What is the correct way to pass an array as an argument to a function in C++?

Select the correct option to test your answer:

More Computer Questions

Which of the following property sets the alignment of the last line of a text block? In which area of the primary storage section are the intermediate processing results held temporarily? What will be the output of the following Java code? class exception_handling { public static void main(String args[]) { try { int a = args.length; int b = 10 / a; System.out.print(a); try { if (a == 1) a = a / a - a; if (a == 2) { int []c = {1}; c[8] = 9; } } catch (ArrayIndexOutOfBoundException e) { System.out.println("TypeA"); } catch (ArithmeticException e) { System.out.println("TypeB"); } } } Note: Execution command line: $ java exception_handling one two What is the average case time complexity of standard merge sort? Which of these access specifiers must be used for main() method?