How to use a pointer to point only at half of an array
<p>I'm new to C and pointers, so i have this problem. I want to tell to pointer how much memory it should point to.</p>

<pre><code>char * pointer;
char arr[] = "Hello";
pointer = arr;
printf("%s \n", pointer);
</code></pre>

<p>This pointer will point to whole array, so i will get "Hello" on the screen. My question is how can i make pointer to only get "Hel".</p>