15. If A=[1:38], then A(3) returns: C. a. 8 b. 3 16. (\'a\'-\'A\') returns: a. 3
ID: 3595179 • Letter: 1
Question
Explanation / Answer
15.
The array becomes [1 4 7]
Hence A(3) = 7
Option c
16
('a' - 'A') returns 32, that is the difference in the ASCII value of both characters
Option A
17
s = ['Hello';'world']
length(s) = 5, The length of the longest word
option c
18
disp(a) shows it as 12.453
Option b
19
%%.3f is invalid format
option c
20
'abc' - 'b' returns:
-1 0 1
Option a
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.