Single Choice
Easy
QWhich of the following statements is NOT true about variable declarations?
ID: #9615
X++ Overview in D365 F&O
190 views
Question Info
#9615Q ID
EasyDifficulty
X++ Overview in D365 F&OTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
- A. Incorrect: This statement is true. You can use var to declare local variables for declarations of for loop counters.
- B. Incorrect: This statement is true. You can declare a variable wherever statements can be provided.
- C. Correct: This statement is NOT true. You cannot declare a variable after it is used in code.
- D. Incorrect: This statement is true. You can declare variables in smaller scopes, outside which the variables can’t be referenced.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic