What is the difference between null and void?
Answer / Tabinda Iram
Null and Void have different meanings:
1. Null: It is an assignment value in programming languages that represents no object or no value, depending on the language.
2. Void: It is a data type in some programming languages (such as C++ and Java) that represents the absence of any value or simply nothing. The special value void is returned by functions that do not return an actual value.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is heap tree explain with example?
How many pointers are necessary to implement a simple linked list?
What is mergesort and hashtable?
What is bubble sort and selection sort?
Write a code for dynamic allocation of array.
What is the difference between classifying and sorting?
I am given a sequential algorithm that does a routine search on an unordered list. N = 20. The probability that the value x does NOT appear in the list is exactly 60%, and the probability that x DOES appear is 40%. The 3 questions that I could not get were: A) What is the avg number of element comparisons performed when n = 20 and x does NOT appear in the List. (my answer was 20, is this correct?) B) What is the avg number of element comparisons peformed when n = 20 and x DOES appear in the list? C) What is the avg number of element comparisons performed when n = 20. This should be a single number answer they said.
What are the types of algorithms?
What is nsmutablearray?
What is a binary search tree? Explain with example?
What is minimum depth of binary tree?
Which interfaces are implemented by concurrentskiplistset?