In the syntax WORD(xxxx) what do xxxx specifies?
(a) starting characters of the name of the reserved-word table
(b) ending characters of the name of the reserved-word table
(c) alternate characters of the name of the reserved-word table
(d) All of the above
To solve this question, the user needs to know the syntax of the WORD function.
The WORD function is used in COBOL programming language to check if a given word is a reserved word or not. The syntax of the WORD function is:
WORD(word-to-be-checked, length-of-word-to-be-checked)
The xxxx in the given syntax WORD(xxxx) specifies the word to be checked for being a reserved word.
xxxx
WORD(xxxx)
Option A, B, and C are incorrect because they do not specify the correct explanation for xxxx in the syntax WORD(xxxx).
Option D is incorrect because only option A is partially correct and option B and C are incorrect.
Therefore, the correct answer is:
The Answer is: A