title: how to use long long int and remove segmentation fault
body: <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  #include &lt;math.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main() {
      long long int a[10^9],sum=0;
      int n,i,length;
      scanf("%d",&amp;n);
  
      for(i=0;i&lt;n;i++)
      {
          if(0&lt;=a[i]&lt;=10^10)
          {
          scanf("%lld",&amp;a[i]);
          }
     }
  
      for(i=0;i&lt;n;i++)
      {
          sum=sum+a[i];   
      }
  
      printf("%lld",sum);
      /* Enter your code here. Read input from STDIN. Print output to STDOUT */    
      return 0;
  }
  </code></pre>
  
  <p>i dont know the reason why i am getting the segentation fault this code runs fine for this input 1000000001 1000000002 1000000003 1000000004 1000000005</p>