title: Default value of uninitialized variable/object in Swift
body: <p>I'm new here. Just started learning Swift, and when I got to the topic of optionals, I started to wonder what the default value of an uninitialized variable is. </p>
  
  <p>In Java, an 'int' gets initialized to 0. In C, it gets garbage value. So what's with Swift? To be a bit more precise, what is stored in x, when I write "var x: Int" ?</p>
  
  <p>Also, if an uninitialized object "var c: UIColor" can not be pointing to nil, what does it point to?</p>