title: How to handle null if passed from a calling function to a called function whose parameter is nullable integer?
body: <p>I have been asked a question in the interview</p>
  
  <pre><code>public int Add(int? a, int? b)
  {
      return a+b;
  }
  </code></pre>
  
  <p>null is passed in a's place. how will you handle this?</p>
  
  <p>I said </p>
  
  <pre><code>if (a == null ) { //do something }
  else { // do something }
  </code></pre>
  
  <p>He didnot say anything.</p>
  
  <p>Waiting for the reply.</p>