Lecture 2 - Slide 8 : 29 |
Introduce and initialize a variable at the place where it is first used
It is possible to delare variables in a condition of an if statement
![]() | A declaration is a statement in C++. |
![]() | A declaration in the condition of an if. |