Computer Science, asked by shivanshgupta130, 8 months ago

If P =[ 1 2 3;4 5 6], What is the output of [r,c]=size(P)

Answers

Answered by Arshalan
14

Answer:

output of [r,c] is {123456]

Answered by anvitanvar032
0

Answer:

The correct answer to this question is the output of r c is 123456.

Explanation:

Given - P =[ 1 2 3;4 5 6]

To Find - What is the output of [r,c]=size(P)

The output of [r,c]=size(P) is output of r c is 123456.

This is due to the fact that, if an array's total number of items is n, the subscript of the first member always stays "0," while the subscript of the last element is "n-1."

As a result of the foregoing, it is evident that the array contains three entries since 0, 1, and 2 add up to 3.

#SPJ2

Similar questions