title: NSArray and bool values
body: <p>Can an NSArray hold an array of bool values? </p>
  
  <p>The following code runs</p>
  
  <pre><code>BOOL b = NO;
  NSMutableArray *array = [[NSMutableArray alloc] init];
  
  [array addObject:[NSNumber numberWithBool:b]];
  
  NSLog(@"value is %d", [array objectAtIndex:0] );
  </code></pre>
  
  <p>However, I don't get a value of 0 for NO as expected. Instead, this is what I get</p>
  
  <blockquote>
    <p>value is 37736096</p>
  </blockquote>