This site hosted by Free.ProHosting.com
Google

Variables: Initializing Variables

Applies To: C++Builder 1 or higher
Category: C++ Language

When declaring a variable, you can provide an initial value using the = operator and a value:
 
int x;
x = 10;
 
or
 
int x = 10;
 
Initialization is a very important step because variables that are not initialized contain random values.

C++Builder Developer's Network
Copyright © Yoto Yotov