|
|
|
The else keyword introduces the else part of an if statement. If the condition is false, the else statement is executed. Exampletemplate<typename T>
T abs(T x)
{
if (x < T( ))
return -x;
else
return x;
}
See Alsoif, statement, Chapter 4 |
|
|
|