(example) 1m234 - invalid: begins with a number
power Valid;
mnemonic
add_5 Valid;
mnemonic
a2b3c4d5 Valid;
not mnemonic
abcd Valid;
not mnemonic
return Invalid;
C++ keyword
123435 Invalid;
begins with a number
amount Valid;
mnemonic
1A2345 Invalid;
begins with a number
while Invalid;
C++ keyword
int Invalid;
C++ keyword
$taxes Invalid;
begins with a special character
contoh jawapan untuk soalan 2 (b).
#include
using namespace std;
int main()
{
cout <<
"The time has come.";
return 0;
}