nerdexam
Zend

200-530 · Question #239

Which piece of code will return the ASCII value of a character?

The correct answer is B. ord('t'). See the full explanation below for the reasoning.

Question

Which piece of code will return the ASCII value of a character?

Options

  • A(int)'t';
  • Bord('t');
  • Cto_ascii('t');
  • Dchr('t');

How the community answered

(50 responses)
  • A
    4% (2)
  • B
    82% (41)
  • C
    12% (6)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice