What is Hashing and how is it done? Pictorial form?
Answers were Sorted based on User's Feedback
Answer / vivin
A hashing function is a key-to-address transformation, which acts upon a given key to compute the relative position of the key in an array.
A simple hash function
HASH(KEY value)=KEYvalue MOD TABLESIZE
(ex) HASH(92)=92 MOD 10
=2
Here 10 is table size associated with records
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / sanjeevkumar.v
hashing table is used on C-language .first to give the
values and these are divide into 3. the values are
individually divided in the 3. the REMAINDER will be
considered at the TABLE . the columns are in
TABLE--0
TABLE--1
TABLE--2
these are in having hashing table........
pictorial diagram is used on the programming languages
and these are used in the .architecture of the function to
be view
| Is This Answer Correct ? | 1 Yes | 4 No |
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
why freind function takes more parameter than normal member function in c++?
OOP'S advantages of inheritance include:
officer say me - i am offered to a smoking , then what can you say
what is different between oops and c++
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
what is the size of an empty class
what is new operator in c++
who is the father of OPPS
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)
What is the default size allocated for array in the statement if size not specified " int a[] "
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?