ASCII number for the character a=97, d=100, e=101, D=68, then what is the ASCII number for the character b?
Solve it by using a Matlab Code
a) 65
b) 99
c) 98
d) 66
Matlab Code for ASCII chart for characters a, b as follows:
for i = 32 : 63
str = [num2str(i) ' ' char(i)
' '...
num2str(i+32) ' ' char(i+32) ' '...
num2str(i+64) ' ' char(i+64)];
disp(str)
end
If we execute above we get all the AsCII Numbers in that we observe that b = 98
So option (c) is correct.
Get Answers For Free
Most questions answered within 1 hours.