title: Issue with printing the array elements when array is greater than 8
body: <pre><code>//read the elements of the array
  cout&lt;&lt;"Enter all the elements of the array"&lt;&lt;endl;
  for(j=0;j&lt;size;j++)
    cin&gt;&gt;arr[j];
  
  //populate the elements of the array
  cout&lt;&lt;endl&lt;&lt;"Entered elements are as follows"&lt;&lt;endl;
  for(j=0;j&lt;size;j++)
   cout&lt;&lt;arr[j]&lt;&lt;"  ";
  </code></pre>
  
  <p>The code is compiled with gcc.
  When I run the code in ubuntu 14.04 and enter an array size larger than 8 I don't get any output.</p>
  
  <pre><code>&gt; kv@kv:~/c_quizzes$ g++ quick_sort.c 
  &gt; kv@kv:~/c_quizzes$ ./a.out 
  &gt; Enter the size of the array 
    12 
  &gt; Enter all the elements of the array 
    1 22 32 11 212 32323 9839 09 0 -90 99 9 
  &gt; Entered elements are as follows
  
   ^C 
  &gt; kv@kv:~/c_quizzes$
  </code></pre>