Microsoft
MB-500 · Question #173
MB-500 Question #173: Real Exam Question with Answer & Explanation
Sign in or unlock MB-500 to reveal the answer and full explanation for question #173. The question stem and answer options stay visible for context.
Question
A developer submits code for a quality assurance review. Several lines of code use the var data type. You need to validate the segments tor the correct X++structure. Which code statement will pass validation?
Options
- Avar var1 = systemDateGet (); var1 = var1 ? today(); ''No today'';
- Bvar var1 = true ? 10:''10''
- Cvar var1 = true; var1 = true ? 10:falase;
- Dvar var1 = (var1 >= false) ? true :10;
Unlock MB-500 to see the answer
You've previewed enough free MB-500 questions. Unlock MB-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.