👍2😁1
Which function disconnects the stream from a file pointer in C language?
Anonymous Quiz
55%
fclose()
15%
fremove()
11%
remove()
19%
file pointer set to NULL
👍2
What is meant by a polymorphism in C++?
Anonymous Quiz
12%
class having only single form
4%
class having four forms
82%
class having many forms
3%
class having two forms
👍1🥰1
What would be the asymptotic time complexity to find an element in the linked list?
Anonymous Quiz
18%
O(1)
62%
O(n)
15%
O(n2)
4%
O(n4)
👍2
In JavaScript, If a function which does not return a value is known as _____
Anonymous Quiz
50%
Static function
25%
Procedures
14%
Method
12%
Dynamic Function
👍3😁1
In java, If we try to add Enum constants to a TreeSet, what sorting order will it use?
Anonymous Quiz
30%
Sorted in the order of declaration of Enums
31%
Sorted in alphabetical order of Enums
27%
Sorted based on order() method
12%
Sorted in descending order of names of Enums
❤1
Which statement is correct about the below program?
Anonymous Quiz
40%
Error: main() cannot be called inside printf()
21%
It prints the garbage values infinitely
23%
Runs infinitely without printing anything
16%
No Error and print nothing
What is meant by a polymorphism in C++?
Anonymous Quiz
13%
class having only single form
3%
class having four forms
81%
class having many forms
3%
class having two forms
What would be the asymptotic time complexity to insert an element at the second position in the linked list?
Anonymous Quiz
36%
O(1)
49%
O(n)
15%
O(n2)
1%
O(n3)
Explanation: A new node is created with the required element. The pointer of the new node points the node to which the head node of the linked list is also pointing. The head node pointer is changed and it points to the new node which we created earlier. The entire process completes in O (1) time. Thus the asymptotic time complexity to insert an element in the second position of the linked list is O (1).