title: Assigning Value to unsigned long long in C
body: <p>While assigning value to a unsigned long long variable in C, value of variable is not getting assigned properly. The code is:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main()
  {
    unsigned long long x;
    printf("%d\n\n",sizeof(x));
    x=0xAAAAAAAAAAAAAAAAULL;
    printf("%u\n\n",x);
    printf("%ld\n\n",x);
    return 0;
  }
  </code></pre>
  
  <p>Rightmost 32 bits of the variable are being ignored. Can someone please tell me how to do this correctly. </p>