title: What is causing my program to crash?
body: <p>I am intentionally printing an output of an uninitialized pointer to a character. Like this...</p>
  
  <pre><code>printf("%c, *pointer);
  </code></pre>
  
  <p>Many times, I get a random character, and when I declare new variables in the program, the character outputs change. Now, I run the program and the program crashes before it can enter the character that the pointer points to. What is causing the program to crash?</p>
  
  <p>I checked the memory address value, its value is something like 2147880420 or something.</p>
  
  <p>I'm a noob with programming and I just started learning pointers, I just don't understand what causes the program to crash.</p>
  
  <p>No hate or BS like "don't do that, it's stupid", I am experimenting and learning and wish to understand.</p>