title: Generating 10 bit signed integer
body: <p>this line <code>printf ("Random[%d]= %u\n", i, rand ());</code> generates a random integer mostly 1 bit, but when doing printf <code>("Random[%d]= %u\n", i, rand ()%1000000);</code> it generates 6 digits int,</p>
  
  <p>when trying to generate a 10 digit int the error " warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long long int’ [-Wformat]" occurs.</p>
  
  <p>so is there a way to generate a random 10 bit signed integer???</p>