National_Instruments
200-500 · Question #11
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
(27 responses)- A7% (2)
- B74% (20)
- C15% (4)
- D4% (1)
Community Discussion
No community discussion yet for this question.