Slide 10 Variable initialization a variable can be initialized in a declaration int x=3 Always initialize your variables, which are not always automatically initialized Different ways of initialization int x=3 int x(3)iSlide 10 Variable initialization • A variable can be initialized in a declaration: int x = 3; • Always initialize your variables, which are not always automatically initialized!!! • Different ways of initialization int x = 3; int x(3);