title: Objective c - int and char[] declared in .h, life cycle?
body: <p>I've struggling with the memory of my app (alloc, retain, release, etc...)  for a while, but there's something I dont finish to understand.</p>
  
  <p>If I declare this in my .h file:</p>
  
  <pre><code>int ex1;
  char ex2[10];
  </code></pre>
  
  <p>What is the life cycle of these variables? Imagine that I want to use these variables in different parts of my .m code, in methodA I'm going to assign a value, and in methodB I'm going to read them.</p>
  
  <p>Can I be 100% sure that the variables are not going to be released in any moment of my .m?</p>
  
  <p>Thanks</p>