Explanation : For the first time the first for loop will be executed completely, the content of array will be as follows :
5,3,4,6,2,1
After the second for executed completely the content of array will be as follows:
6,5,4,3,2,1
Array[3] = 3 so ans is 3 Because of the array will start from zero address .
Explanation : (will increment m & assign it to
will assign m to n1 and then increment m by 1
n --; decrement n by
--n; decrement n by
∴ ‘0’ is printed)
Explanation : in this query says we need to
Condition 1: Select players which have goals greater than ALL players of spain – This conditon will always be true as ALL (empty) always returns TRUE.
AND
Condition 2: Any player of Germany having 10 goals, so all the rows which are greater than 10 Goals will be returned.
Looking at the table, first 7 rows satisfy both the conditions.
Explanation : Let the Order of the tree to be p. Every b+ tree node contains p children and p-1 data items where record pointer are not present in the internal nodes. So
p(Block pointer size)+(p-1)Key size<=Block size
p(2)+(p-1)8<=512
p=52