Home / MCQ Bank / Computer
Computer Functions And Procedures In C Plus Plus Difficulty: Medium

What is the default return type of a function?

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following Python code? def f1(x): global x x+=1 print(x) f1(15) print("hello") What will be the output of the following Java code? import java.util.*; class vector { public static void main(String args[]) { Vector obj = new Vector(4,2); obj.addElement(new Integer(3)); obj.addElement(new Integer(2)); obj.addElement(new Integer(5)); System.out.println(obj.elementAt(1)); } } In a binary search tree, which of the following traversals would print the numbers in the ascending order? What is the time complexity of inserting an element into an AVL tree in the worst case? What is the output of the following code: my_list = [1, 2, 3] my_list.append(4) print(my_list)