adplus-dvertising
frame-decoration

Question

Why did the following happen?
>> p
p = 
    "10"
>> p+1
ans = 
     "101"

a.

p is a character array

b.

p is binary

c.

Error

d.

Cannot be determined

Posted under MATLAB

Answer: (a).p is a character array

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Why did the following happen?