What does the following function do for a given Linked List with first node as head?
Anonymous Quiz
36%
Prints all nodes of linked lists
39%
Prints all nodes of linked list in reverse order
19%
Prints alternate nodes of Linked List
6%
Prints alternate nodes in reverse order
Which one of the following is not a example of closures?
Anonymous Quiz
59%
Graphics
14%
Variables
16%
Functions
11%
Objects
BigDecimal is a part of which package?
Anonymous Quiz
16%
java.lang
58%
java.math
18%
java.util
8%
java.io
In the below statement of C language, what does the "arr" indicates?
Anonymous Quiz
25%
arr is an array of 20 characters
37%
arr is an array of 20 character pointers
17%
arr is an array of function
22%
arr is a pointer to an array
What will be the output of the following C++ program?
Anonymous Quiz
55%
runtime error
10%
Sanfo
15%
S
20%
Sanfoundry
In the worst case, the number of comparisons needed to search a singly linked list of length n for a given element is?
Anonymous Quiz
21%
log 2 n
14%
nā2
24%
log 2 n ā 1
41%
n
What output will be returned by the function in the following code?
Anonymous Quiz
41%
It will returns the value in scope
28%
It will returns value null
12%
It will returns an exception
20%
It will show an error message
What is BigDecimal.ONE in java?
Anonymous Quiz
21%
wrong statement
15%
custom defined statement
50%
static variable with value 1 on scale 10
14%
static variable with value 1 on scale 0