IT Nursery
I saw the “new type” BOOL (YES, NO). I read that this type is almost like a char. For testing I did : NSLog(@"Size of BOOL %d", sizeof(BOOL)); NSLog(@"Size...
  • June 1, 2022
  • 0 Comments
Simple question, but I’m interested in the nuances here. I’m generating random booleans using the following method I came up with myself: const rand = Boolean(Math.round(Math.random())); Whenever random() shows...
  • May 27, 2022
  • 0 Comments