Multiple choice technology programming languages

Which statement will cause a syntax check error?

  1. Constants:x(3) type c value '123'.

  2. Data:x(3) type c.

  3. Constants:x(3) type c.

  4. Data:x(3) type c value '123'.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In ABAP, CONSTANTS declarations must include a VALUE clause to specify the constant's value. Option C 'Constants:x(3) type c.' lacks the required VALUE clause, causing a syntax error. DATA statements (options B and D) can optionally include values, so they are syntactically valid.