title: Changing value of array elements
body: <p>The function below searches for the elements in the array <code>h</code> that match the input value. It then shows the index and the value of the matching elements.</p>
  <pre><code>void search()
  {
      int key, index, i, flag = 0, hkey;
  
      printf(&quot;\nenter search element\n&quot;);
      scanf(&quot;%d&quot;, &amp;key);
      hkey = key % TABLE_SIZE;
      for(i = 0; i &lt; TABLE_SIZE; i++)
      {
          index = (hkey + i * i) % TABLE_SIZE;
          if(h[index] == key)
          {
              printf(&quot;\n value is found at index %d \t value =  %d&quot;, index, key);
              key == 99999999;
          }
      }
  }
  </code></pre>
  <p>How can I make it change the value of the matching elements in the array?</p>