int Square(int);
int Cube(int);
int main()
{
int Square(int n)
{
return n * n;
}
int Cube(int n)
{
return n * Square(n);
}

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
are 4 different identifiers.

Examples:


|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'A' 'a' ' ' '+'
'?' '\''

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
x = a % b; // result: 3
x = a % 2; // result: 0
x = b % a; // result: 7
c = ++a + b; // 11 is stored in
a
// and 23 is stored in b
c = a++ + b; // 11 is stored in
a
// and 22 is stored in b
cout <<
"Hello";
cout <<
"The answer is ";
cout <<
3 * num;

| Statement |
|
| cout << i; | 2 |
| cout << "i = " << i; | i = 2 |
| cout << "Sum = " << i + j; | Sum = 8 |
| cout << "i = " << i <<
endl
<< "j = " << j << endl << "sum = " << i + j << endl; |
i = 2
j = 6 sum = 8 |