Google News
logo
Electronics and Communication Engineering (ECE) : Microprocessors - Quiz(MCQ)
Which of the following conditional statements is not valid in Pascal?
A)
If A < = B then A : = C * D
B)
If A > = B then B : = C + D + X
C)
If (N = 45) THEN X : = X + 2 ELSEX : = 0
D)
If (A > = B) X : Y else X : = Z

Correct Answer : Option (D) :   If (A > = B) X : Y else X : = Z


Explanation : 'then' is missing.

Advertisement