PrepAway - Latest Free Exam Questions & Answers

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

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

PrepAway - Latest Free Exam Questions & Answers

A.
(int)’t’;

B.
ord(‘t’);

C.
to_ascii(‘t’);

D.
chr(‘t’);


Leave a Reply

Your email address will not be published. Required fields are marked *